1
0
Fork 0

Try add mac os

This commit is contained in:
Florian RICHER (MrDev023) 2021-07-24 14:45:47 +02:00
parent 02dc2cf711
commit 0862632600

View file

@ -51,3 +51,24 @@ jobs:
with:
name: windows
path: target/release/autoconfig.exe
macos_job:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Cache build
uses: actions/cache@v2
with:
path: ~/target
key: ${{ runner.os }}-build-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ hashFiles('**/Cargo.lock') }}
${{ runner.os }}-build-
${{ runner.os }}-
- run: cargo build --release
- run: cargo test --release
- name: Upload build file
uses: actions/upload-artifact@v2
with:
name: macos
path: target/release/autoconfig