From 48b2ab157b5e0021e346476b8b5623726706f7da Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Wed, 22 Jun 2022 08:53:42 +0300 Subject: [PATCH] ci: add a separate native_backend_tests.yml, to run the native tests on all the available github actions vm environments --- .github/workflows/native_backend_tests.yml | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/native_backend_tests.yml diff --git a/.github/workflows/native_backend_tests.yml b/.github/workflows/native_backend_tests.yml new file mode 100644 index 0000000000..d9f2cb65fd --- /dev/null +++ b/.github/workflows/native_backend_tests.yml @@ -0,0 +1,26 @@ +name: native backend CI + +on: + push: + paths-ignore: + - "**.md" + pull_request: + paths-ignore: + - "**.md" + +concurrency: + group: build-ci-${{ github.event.pull_request.number || github.sha }} + cancel-in-progress: true + +jobs: + native-backend: + strategy: + matrix: + os: [ubuntu-18.04, ubuntu-20.04, macos-12, windows-2016, windows-2019, windows-2022] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + - name: Build V + run: make + - name: Test the native backend + run: ./v test vlib/v/gen/native/