playdate icon indicating copy to clipboard operation
playdate copied to clipboard

use ${{ env.API_CRATES }} when all crates will have example

Open github-actions[bot] opened this issue 9 months ago • 0 comments

https://api.github.com/boozook/playdate/blob/1f1bc30b267d3d2e1f0abd8dd49c8a144e6c03b5/.github/workflows/tests.yml#L112


          cargo test -p=playdate-sys --features=$FEATURES_1 -- --nocapture
          cargo test -p=playdate-sys --features=$FEATURES_2 -- --nocapture

          cargo test ${{ env.API_CRATES }} --lib --no-default-features --features=$FEATURES_1 -- --nocapture
          cargo test ${{ env.API_CRATES }} --lib --no-default-features --features=$FEATURES_2 -- --nocapture

      - name: Check device target
        run: |
          # should we check with -Zbuild-std ?
          cargo check ${{ env.API_CRATES }} --target=thumbv7em-none-eabihf

      - name: Examples
        run: |
          FEATURES=bindgen-runtime,bindings-derive-debug

          # TODO: use ${{ env.API_CRATES }} when all crates will have example
          cargo build --target=thumbv7em-none-eabihf -p=playdate-fs --examples --features=$FEATURES -Zbuild-std
          cargo build --target=thumbv7em-none-eabihf -p=playdate-controls --examples --features=$FEATURES -Zbuild-std
          cargo build --target=thumbv7em-none-eabihf -p=playdate-color --examples --features=$FEATURES -Zbuild-std

github-actions[bot] avatar Sep 20 '23 11:09 github-actions[bot]