From 8db7fe752100f7153541ae185be9c1422540dff9 Mon Sep 17 00:00:00 2001 From: Vincent Herlemont Date: Sun, 29 Oct 2023 20:03:27 +0100 Subject: [PATCH] ci: update build_test_common_os --- .../workflows/build_and_test_release.yml | 22 ++++--------------- 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/libraries/native_model/.github/workflows/build_and_test_release.yml b/libraries/native_model/.github/workflows/build_and_test_release.yml index 722e585b..f6bc8d18 100644 --- a/libraries/native_model/.github/workflows/build_and_test_release.yml +++ b/libraries/native_model/.github/workflows/build_and_test_release.yml @@ -14,7 +14,6 @@ jobs: matrix: os: [ubuntu-latest, windows-latest, macOS-latest] toolchain: [stable] - feature: [ no_feature ] steps: - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 - name: Setup Rust @@ -22,24 +21,11 @@ jobs: with: toolchain: ${{ matrix.toolchain }} override: true - - name: Setup Feature Args - shell: bash - run: | - if [[ "${{ matrix.feature }}" == "no_feature" ]]; then - echo "FEATURE_ARGS=" >> $GITHUB_ENV - else - echo "FEATURE_ARGS=-F ${{ matrix.feature }}" >> $GITHUB_ENV - fi + - uses: extractions/setup-just@v1 + - name: Ls + run: ls -al - name: Build - uses: actions-rs/cargo@v1 - with: - command: build - args: ${{ env.FEATURE_ARGS }} - - name: Run tests - uses: actions-rs/cargo@v1 - with: - command: test - args: ${{ env.FEATURE_ARGS }} + run: just release: name: Release runs-on: ubuntu-latest