Skip to content

Commit

Permalink
ci: Downgrade Rust to avoid compiler bug causing error: Can't resolve…
Browse files Browse the repository at this point in the history
  • Loading branch information
travbid committed Jun 21, 2020
1 parent 58017e4 commit cc9095f
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,19 @@ on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
with:
token: ${{ secrets.CITOKEN_SECRET }}
submodules: true
- name: Build
run: |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update
sudo apt install yarn
rustc --version || echo "no rustc"
rustup --version
rustup toolchain install stable 1.43.1
rustup target list
rustup default 1.43.1
yarn global add wasm-pack # wasm-pack-plugin tries to install this with npm if not present, but npm needs root to install globally, so instead we install upfront with yarn
yarn install
yarn build

0 comments on commit cc9095f

Please sign in to comment.