fix: ci test 4

This commit is contained in:
Oleksandr Pravdyvyi 2024-11-25 08:07:53 +02:00
parent ecdb8c4c68
commit f5f9e406ea
2 changed files with 26 additions and 8 deletions

View File

@ -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:

View File

@ -0,0 +1,4 @@
set -e
curl -L https://risczero.com/install | bash
/Users/.risc0/bin/rzup install
cargo build