From 075e7051c6f7593f20171b5ff0dfaa194f584bd2 Mon Sep 17 00:00:00 2001 From: Alexander Koz Date: Fri, 29 Sep 2023 19:20:12 +0400 Subject: [PATCH] CI: fix tests after update --- .github/workflows/update.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 39fb518b..2d4ecc15 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -14,7 +14,9 @@ on: description: "Source SHA used to build bindings. Uses `github.sha`` by default." required: false - # push: + pull_request: + push: + branches: [ci/fix-update, main, master] # branches: [main, master] schedule: @@ -250,8 +252,8 @@ jobs: # IGNORE_EXISTING_PLAYDATE_SDK: 1 # PLAYDATE_USE_PREBUILT_VERSION: ${{ steps.sdk.outputs.version }} run: | - cargo test -p=playdate-sys --features="${{ matrix.features.v }}" - cargo test -p=playdate-sys --features="${{ matrix.features.v }}" --release + cargo test -p=playdate-sys --features="lang-items ${{ matrix.features.v }}" + cargo test -p=playdate-sys --features="lang-items ${{ matrix.features.v }}" --release - name: Test (device) if: ${{ matrix.os == 'ubuntu-latest' }} @@ -259,8 +261,8 @@ jobs: # IGNORE_EXISTING_PLAYDATE_SDK: 1 # PLAYDATE_USE_PREBUILT_VERSION: ${{ steps.sdk.outputs.version }} run: | - cargo build -p=playdate-sys --features="${{ matrix.features.v }}" --target=thumbv7em-none-eabihf -Zbuild-std=core,alloc - cargo build -p=playdate-sys --features="${{ matrix.features.v }}" --target=thumbv7em-none-eabihf -Zbuild-std=core,alloc --release + cargo build -p=playdate-sys --features="lang-items ${{ matrix.features.v }}" --target=thumbv7em-none-eabihf -Zbuild-std=core,alloc + cargo build -p=playdate-sys --features="lang-items ${{ matrix.features.v }}" --target=thumbv7em-none-eabihf -Zbuild-std=core,alloc --release - name: Commit id: commit