Skip to content

Commit

Permalink
Add mac OS support
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall authored Apr 18, 2024
1 parent 5149d3b commit e2d43dd
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,24 @@ jobs:
matrix:
# TODO: someone with more windows chops please add windows test support
# os: [windows-latest, ubuntu-latest, macos-latest]
# TODO: figure out how to install docker in a mac runner :facepalm:
# os: [ubuntu-latest, macos-latest]
os: [ubuntu-latest]
# TODO: keep an eye when macos-14+ (M1) support is available
os: [ubuntu-latest, macos-13]
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set make and secrets for Windows
- name: Setup make and secrets for Windows
if: matrix.os == 'windows-latest'
run: |
choco install mingw -y
echo "C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\bin" >> $GITHUB_PATH
cp sample.env .env <-- do not know what windows cp. COPY?
C:\Program Files\Git\bin\bash.exe ./build/scripts/check-secrets.sh yes
- name: Setup docker for mac
if: matrix.os == 'macos-13'
uses: douglascamata/setup-docker-macos-action@v1-alpha

- name: init secrets
if: matrix.os != 'windows-latest'
run: |-
Expand Down

0 comments on commit e2d43dd

Please sign in to comment.