aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/build-macos.yml
diff options
context:
space:
mode:
authorNia Waldvogel <[email protected]>2022-01-15 15:30:31 -0500
committerRon Evans <[email protected]>2022-01-15 22:46:20 +0100
commit751ac8548870c2e77f70270945b254cf1efcdb43 (patch)
tree1d7fb516fe66c1ff8270d3b0fd8ff903ccba7a7b /.github/workflows/build-macos.yml
parent512fb1dae6d7b66705584a3ec5fb8968e07c0fee (diff)
downloadtinygo-751ac8548870c2e77f70270945b254cf1efcdb43.tar.gz
tinygo-751ac8548870c2e77f70270945b254cf1efcdb43.zip
ci (Windows/Mac): use binaryen from scoop/brew
The scoop and brew package managers now bundle up-to-date copies of binaryen. As a result, there is no longer a strong need for us to build and package our own copy.
Diffstat (limited to '.github/workflows/build-macos.yml')
-rw-r--r--.github/workflows/build-macos.yml17
1 files changed, 2 insertions, 15 deletions
diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml
index 7b3541cdc..7a57e2602 100644
--- a/.github/workflows/build-macos.yml
+++ b/.github/workflows/build-macos.yml
@@ -16,10 +16,10 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: '1.17'
- - name: Install QEMU
+ - name: Install Dependencies
shell: bash
run: |
- HOMEBREW_NO_AUTO_UPDATE=1 brew install qemu
+ HOMEBREW_NO_AUTO_UPDATE=1 brew install qemu binaryen
- name: Install Xtensa toolchain
shell: bash
run: |
@@ -71,19 +71,6 @@ jobs:
- name: Build wasi-libc
if: steps.cache-wasi-libc.outputs.cache-hit != 'true'
run: make wasi-libc
- - name: Cache Binaryen
- uses: actions/cache@v2
- id: cache-binaryen
- with:
- key: binaryen-macos-v1
- path: build/wasm-opt
- - name: Build Binaryen
- if: steps.cache-binaryen.outputs.cache-hit != 'true'
- run: |
- # install dependencies
- HOMEBREW_NO_AUTO_UPDATE=1 brew install cmake ninja
- # build!
- make binaryen
- name: Test TinyGo
shell: bash
run: make test GOTESTFLAGS="-v -short"