mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-02 13:23:10 +00:00
fix: ci test 4
This commit is contained in:
parent
ecdb8c4c68
commit
f5f9e406ea
30
.github/workflows/ci.yml
vendored
30
.github/workflows/ci.yml
vendored
@ -14,15 +14,11 @@ on:
|
||||
name: General
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
# platform: [ ubuntu-latest, macos-latest ]
|
||||
platform: [ ubuntu-latest ]
|
||||
runs-on: ${{ matrix.platform }}
|
||||
build-ubuntu-latest:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
|
||||
name: build - ${{ matrix.platform }}
|
||||
name: build - ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install stable toolchain
|
||||
@ -31,10 +27,28 @@ jobs:
|
||||
profile: minimal
|
||||
toolchain: nightly
|
||||
override: true
|
||||
- name: build - ${{ matrix.platform }} test
|
||||
- name: build - ubuntu-latest
|
||||
if: success() || failure()
|
||||
run: chmod 777 ./ci_scripts/build-ubuntu.sh && ./ci_scripts/build-ubuntu.sh
|
||||
|
||||
|
||||
build-macos-latest:
|
||||
runs-on: macos-latest
|
||||
timeout-minutes: 60
|
||||
|
||||
name: build - macos-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install stable toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: nightly
|
||||
override: true
|
||||
- name: build - macos-latest
|
||||
if: success() || failure()
|
||||
run: chmod 777 ./ci_scripts/build-macos.sh && ./ci_scripts/build-macos.sh
|
||||
|
||||
# lint:
|
||||
# strategy:
|
||||
# matrix:
|
||||
|
||||
4
ci_scripts/build-macos.sh
Normal file
4
ci_scripts/build-macos.sh
Normal file
@ -0,0 +1,4 @@
|
||||
set -e
|
||||
curl -L https://risczero.com/install | bash
|
||||
/Users/.risc0/bin/rzup install
|
||||
cargo build
|
||||
Loading…
x
Reference in New Issue
Block a user