From efd4e8617f5e616d27bc2a097be1dd60355a17fd Mon Sep 17 00:00:00 2001 From: Franco Testagrossa Date: Sat, 27 Apr 2024 01:19:22 +0200 Subject: [PATCH] Fix ci --- .github/workflows/ci-backend.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci-backend.yml b/.github/workflows/ci-backend.yml index a369bb8..511a967 100644 --- a/.github/workflows/ci-backend.yml +++ b/.github/workflows/ci-backend.yml @@ -1,4 +1,5 @@ name: ci-backend + on: push: branches: @@ -9,28 +10,41 @@ on: - .github/workflows/provision-darwin.sh - .github/workflows/provision-linux.sh - .github/workflows/backend.yaml + concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true + jobs: backend-darwin: runs-on: macos-12 steps: - uses: actions/checkout@v1 + + - name: Create .env file + run: echo "GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}" > .env + - name: Provision Darwin run: bash .github/workflows/provision-darwin.sh + - name: Rust Send HTTP GET Darwin run: | dfx start --background pushd . RUSTFLAGS=-Ctarget-cpu=mvp make test popd + backend-linux: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v1 + + - name: Create .env file + run: echo "GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}" > .env + - name: Provision Linux run: bash .github/workflows/provision-linux.sh + - name: Rust Send HTTP GET Linux run: | dfxvm update