Skip to content

Compiler for MacOS in CI #8

Compiler for MacOS in CI

Compiler for MacOS in CI #8

Workflow file for this run

name: C/C++ CI
on:
workflow_dispatch:
push:
branches: [ "master" ]
pull_request:
jobs:
build-amd64:
name: Build and run tests on Linux amd64
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: make
run: make -j2
- name: running testsuite
run: make test -j2
- name: make dist
run: make dist
- name: Archive ATR
uses: actions/upload-artifact@v4
with:
name: fastbasic.atr
path: build/fastbasic.atr
- name: Archive ZIP Linux amd64
uses: actions/upload-artifact@v4
with:
name: fastbasic-linux-amd64.zip
path: build/fastbasic.zip
build-macos-M1:
name: Build and run tests on MacOS M1 (ARM64)
runs-on: macos-14
steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- name: make
run: |
gcc -v
make -j2
- name: running testsuite
run: make test -j2
- name: make dist
run: make dist
- name: Archive ZIP MacOS ARM
uses: actions/upload-artifact@v4
with:
name: fastbasic-macos-arm64.zip
path: build/fastbasic.zip