.
This commit is contained in:
33
.github/workflows/build.yaml
vendored
33
.github/workflows/build.yaml
vendored
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user