mirror of
https://github.com/EyeTrackVR/OpenIris.git
synced 2025-11-04 15:39:42 +08:00
ci(ci-test-docker): test new docker container
This commit is contained in:
parent
b8a40f133f
commit
87bc5b3f7f
10
.github/workflows/build_release_bins.yml
vendored
10
.github/workflows/build_release_bins.yml
vendored
@ -56,7 +56,7 @@ jobs:
|
|||||||
image: ghcr.io/zanzythebar/piodocker:latest
|
image: ghcr.io/zanzythebar/piodocker:latest
|
||||||
options: -v ${{ github.workspace }}:/workspace
|
options: -v ${{ github.workspace }}:/workspace
|
||||||
run: |
|
run: |
|
||||||
cd /ESP
|
cd ESP
|
||||||
export OPENIRIS_CI_BUILD=1
|
export OPENIRIS_CI_BUILD=1
|
||||||
mkdir build
|
mkdir build
|
||||||
mkdir build/${{ matrix.target_name }}${{ matrix.target_build_type }}
|
mkdir build/${{ matrix.target_name }}${{ matrix.target_build_type }}
|
||||||
@ -64,21 +64,21 @@ jobs:
|
|||||||
pio run --environment ${{ matrix.target_name }}${{ matrix.target_build_type }}
|
pio run --environment ${{ matrix.target_name }}${{ matrix.target_build_type }}
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
echo "::group::create zip"
|
echo "::group::create zip"
|
||||||
unzip -l './ESP/build/${{ matrix.target_name }}${{ matrix.target_build_type }}/*.zip'
|
unzip -l 'build/${{ matrix.target_name }}${{ matrix.target_build_type }}/*.zip'
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
echo "::group::copy firmware name file"
|
echo "::group::copy firmware name file"
|
||||||
cp ./ESP/tools/firmware_name.txt ./build/${{ matrix.target_name }}${{ matrix.target_build_type }}/firmware_name.txt
|
cp tools/firmware_name.txt build/${{ matrix.target_name }}${{ matrix.target_build_type }}/firmware_name.txt
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
- name: Archive Firmware name File
|
- name: Archive Firmware name File
|
||||||
# create an environment variable with the name of the firmware file by catting the firmware_name.txt file
|
# create an environment variable with the name of the firmware file by catting the firmware_name.txt file
|
||||||
run: |
|
run: |
|
||||||
echo "FIRMWARE_NAME=$(cat ./ESP/build/${{ matrix.target_name }}${{ matrix.target_build_type }}/firmware_name.txt)" >> $GITHUB_ENV
|
echo "FIRMWARE_NAME=$(cat ESP/build/${{ matrix.target_name }}${{ matrix.target_build_type }}/firmware_name.txt)" >> $GITHUB_ENV
|
||||||
- name: Archive Firmware Binaries
|
- name: Archive Firmware Binaries
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.target_name }}${{ matrix.target_build_type }}-firmware
|
name: ${{ matrix.target_name }}${{ matrix.target_build_type }}-firmware
|
||||||
#path: "./ESP/.pio/build/${{ matrix.target_name }}${{ matrix.target_build_type }}/${{ env.FIRMWARE_NAME }}.bin"
|
#path: "./ESP/.pio/build/${{ matrix.target_name }}${{ matrix.target_build_type }}/${{ env.FIRMWARE_NAME }}.bin"
|
||||||
path: "./ESP/build/${{ matrix.target_name }}${{ matrix.target_build_type }}/${{ env.FIRMWARE_NAME }}.zip"
|
path: "ESP/build/${{ matrix.target_name }}${{ matrix.target_build_type }}/${{ env.FIRMWARE_NAME }}.zip"
|
||||||
retention-days: 5
|
retention-days: 5
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
release-openiris:
|
release-openiris:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user