[RSDK-8764] - Add Darwin support #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test config and do_commands on each commit | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '**/**.go' | |
- 'Makefile' | |
- '.github/workflows/test.yml' | |
pull_request: | |
paths: | |
- '**/**.go' | |
- 'Makefile' | |
- '.github/workflows/test.yml' | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
include: | |
- platform: linux/amd64 | |
runs-on: ubuntu-latest | |
- platform: linux/arm64 | |
runs-on: buildjet-8vcpu-ubuntu-2204-arm | |
- platform: macos/arm64 | |
runs-on: buildjet-12vcpu-macos-12-arm | |
runs-on: ${{ matrix.runs-on }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21.13 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libx264-dev git-lfs | |
- name: Run tests | |
run: make test |