From f5626564cded8c8fb7816ecbab37d00695b0930b Mon Sep 17 00:00:00 2001 From: x Date: Tue, 4 Apr 2023 12:05:27 +0200 Subject: [PATCH] . --- .github/workflows/build.yaml | 33 +++++++++++++++++++++++++++------ 1 file changed, 27 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 020da28..96db735 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,4 +1,4 @@ -name: linux +name: build on: push: branches: @@ -7,13 +7,34 @@ on: branches: - master jobs: - build: + linux: runs-on: '${{ matrix.os }}' strategy: + fail-fast: false matrix: - os: - - ubuntu-latest + os: [ubuntu-latest, macos-latest] + compiler: ["gcc", "clang"] + env: + CC: ${{ matrix.compiler }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: make - - run: ./icapp ZIPF + - run: ./tb64app -v1 + + windows: + runs-on: windows-latest + defaults: + run: + shell: msys2 {0} + steps: + - uses: actions/checkout@v3 + - uses: msys2/setup-msys2@v2 + with: + msystem: MINGW64 + install: make mingw-w64-x86_64-gcc + update: true + - name: make + run: | + make + ./tb64app -v1 +