From 9ecff08556d11bb58ce9168b9a95a2d437d35740 Mon Sep 17 00:00:00 2001 From: Edwin Svensson Date: Mon, 4 Nov 2019 16:14:57 +0100 Subject: [PATCH 1/4] github actions macos build --- .github/workflows/macos.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/macos.yml diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 0000000..d06df6c --- /dev/null +++ b/.github/workflows/macos.yml @@ -0,0 +1,13 @@ +name: MacOS Build + +on: [push] + +jobs: + build: + + runs-on: macOS-latest + + steps: + - uses: actions/checkout@v1 + - name: Build + run: cargo build --verbose From 85793ba707884152ba6c3760e94d966ec45aeacb Mon Sep 17 00:00:00 2001 From: Edwin Svensson Date: Mon, 4 Nov 2019 16:23:48 +0100 Subject: [PATCH 2/4] use actions-rs/cargo --- .github/workflows/macos.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index d06df6c..3362474 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -9,5 +9,7 @@ jobs: steps: - uses: actions/checkout@v1 - - name: Build - run: cargo build --verbose + - uses: actions-rs/cargo@v1 + with: + command: build + args: --release --all-features From a72cccd2448d3eed58d8a709d8234c3f1c585e9d Mon Sep 17 00:00:00 2001 From: Edwin Svensson Date: Thu, 28 Nov 2019 00:15:55 +0100 Subject: [PATCH 3/4] fix actions config --- .github/workflows/macos.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 3362474..cf3cff2 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -5,7 +5,7 @@ on: [push] jobs: build: - runs-on: macOS-latest + runs-on: macos-latest steps: - uses: actions/checkout@v1 From 198a02f2e967c33597119de73227114319e0901e Mon Sep 17 00:00:00 2001 From: Edwin Svensson Date: Thu, 28 Nov 2019 00:20:00 +0100 Subject: [PATCH 4/4] make sure cargo is installed --- .github/workflows/macos.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index cf3cff2..871d289 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -9,6 +9,11 @@ jobs: steps: - uses: actions/checkout@v1 + - name: Install latest stable + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true - uses: actions-rs/cargo@v1 with: command: build