Skip to content

Commit

Permalink
Add os
Browse files Browse the repository at this point in the history
  • Loading branch information
trizin authored Oct 23, 2023
1 parent beeeab9 commit fc8a0ca
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
build:
name: Build
runs-on: ubuntu-20.04
runs-on: ${{ matrix.os }}

strategy:
matrix:
Expand All @@ -20,30 +20,35 @@ jobs:
ext: '.dylib'
CC: o64-clang
CXX: o64-clang++
os: macos-latest

- goos: linux
goarch: amd64
ext: '.so'
CC: gcc
CXX: g++
os: ubuntu-20.04

- goos: darwin
goarch: arm64
ext: '.dylib'
CC: oa64-clang
CXX: oa64-clang++
os: macos-latest

- goos: windows
goarch: amd64
ext: '.dll'
CC: cl
CXX: cl
os: windows-latest

- goos: linux
goarch: arm64
ext: '.so'
CC: aarch64-linux-gnu-gcc
CXX: aarch64-linux-gnu-g++
os: ubuntu-20.04

steps:
- name: Checkout code
Expand Down

0 comments on commit fc8a0ca

Please sign in to comment.