From bc335d88593c5597f48a00e2ec07a96f50ae2622 Mon Sep 17 00:00:00 2001 From: Robin Jones Date: Wed, 9 Aug 2023 19:46:58 +0100 Subject: [PATCH] Remove libdragon build in CI (it is already performed in devcontainer) (#35) ## Description The CI uses the devcontainer to build libdragon, but that has already occured as part of the devcontainer initialization. ## Motivation and Context The CI was taking longer to build than expected. If/when we move to native CI, we should leverage the CI which would include: ``` # - name: Cache libDragon build # id: cache-libdragon # uses: actions/cache@v3 # env: # cache-name: cache-libdragon # with: # # libdragon cache files are stored in `./libdragon` # path: ./libdragon # key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('./.gitmodules') }} # restore-keys: | # ${{ runner.os }}-build-${{ env.cache-name }}- # ${{ runner.os }}-build- # ${{ runner.os }}- # - name: Build libDragon # if: ${{ steps.cache-libdragon.outputs.cache-hit != 'true' }} # uses: devcontainers/ci@v0.3 # with: # imageName: ghcr.io/polprzewodnikowy/n64flashcartmenu-devcontainer # cacheFrom: ghcr.io/polprzewodnikowy/n64flashcartmenu-devcontainer # push: ${{ github.repository_owner == 'Polprzewodnikowy' && 'filter' || 'never' }} # refFilterForPush: refs/heads/main # runCmd: | # pushd libdragon # ./build.sh # popd ``` ## How Has This Been Tested? ## Screenshots ## Types of changes - [ ] Improvement (non-breaking change that adds a new feature) - [ ] Bug fix (fixes an issue) - [ ] Breaking change (breaking change) - [ ] Config and build (change in the configuration and build system, has no impact on code or features) ## Checklist: - [ ] My code follows the code style of this project. - [ ] My change requires a change to the documentation. - [ ] I have updated the documentation accordingly. - [ ] I have added tests to cover my changes. - [ ] All new and existing tests passed. Signed-off-by: GITHUB_USER --- .github/workflows/build.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fbd7116e..b101f09a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,9 +32,6 @@ jobs: push: ${{ github.repository_owner == 'Polprzewodnikowy' && 'filter' || 'never' }} refFilterForPush: refs/heads/main runCmd: | - pushd libdragon - ./build.sh - popd make all -j env: FLAGS: -DMENU_RELEASE