Update MacS-M1-make.yml
build both
This commit is contained in:
28
.github/workflows/MacS-M1-make.yml
vendored
28
.github/workflows/MacS-M1-make.yml
vendored
@@ -7,21 +7,33 @@ on:
|
|||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build-and-test:
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: /usr/bin/arch -arch ${{ matrix.arch }} /bin/bash -l {0}
|
||||||
|
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
|
|
||||||
|
env:
|
||||||
|
DEVELOPER_DIR: /Applications/Xcode.app/Contents/Developer
|
||||||
|
NSUnbufferedIO: YES
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
arch: [arm64e, x86_64]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: configure
|
- name: configure
|
||||||
run: arch -arm64 ./configure
|
run: ./configure
|
||||||
- name: make
|
- name: make
|
||||||
run: arch -arm64 make -j4
|
run: make -j4
|
||||||
- name: make tests
|
- name: make tests
|
||||||
run: arch -arm64 make -C tests
|
run: make -j4 -C tests
|
||||||
- name: run tests
|
|
||||||
run: pushd tests;arch -arm64 ./test;popd
|
|
||||||
- name: make minimal sample
|
- name: make minimal sample
|
||||||
run: arch -arm64 make -C samples/minimal -f makefile.unx clean;arch -arm64 make -C samples/minimal -f makefile.unx
|
run: make -j4 -C samples/minimal -f makefile.unx clean;make -j4 -C samples/minimal -f makefile.unx
|
||||||
|
- name: run tests
|
||||||
|
run: pushd tests;./test;popd
|
||||||
|
Reference in New Issue
Block a user