Skip to content

Commit

Permalink
Update build_executables.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Chi-EEE committed May 3, 2024
1 parent dffe4cf commit 2e897f4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build_executables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:
run: |
sudo apt-get update
- name: CD to the project directory
run: cd ${{ github.workspace }}/app/rpi

# Force xmake to a specific folder (for cache)
- name: Set xmake env
run: echo "XMAKE_GLOBALDIR=${{ runner.workspace }}/xmake-global" >> $GITHUB_ENV
Expand Down Expand Up @@ -59,6 +56,7 @@ jobs:

# Setup compilation mode and install project dependencies
- name: Configure xmake and install dependencies
working-directory: ./app/rpi
run: xmake config --arch=${{ matrix.arch }} --mode=${{ matrix.confs.mode }} --static=${{ matrix.kind == 'static' && 'yes' || 'no' }} ${{ matrix.confs.config }} --ccache=n --ffmpeg=y --shadernodes=y --tests=y --unitybuild=y --yes

- name: Save cached xmake dependencies
Expand All @@ -69,6 +67,7 @@ jobs:
key: ${{ steps.restore-depcache.outputs.cache-primary-key }}

- name: Build RPI executable
working-directory: ./app/rpi
run: xmake --yes

- name: Archive result
Expand Down

0 comments on commit 2e897f4

Please sign in to comment.