mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-05 23:03:06 +00:00
fix: ci test 8
This commit is contained in:
parent
b249a50a34
commit
293dbd95db
108
.github/workflows/ci.yml
vendored
108
.github/workflows/ci.yml
vendored
@ -14,22 +14,22 @@ on:
|
|||||||
name: General
|
name: General
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-ubuntu-latest:
|
# build-ubuntu-latest:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
timeout-minutes: 60
|
# timeout-minutes: 60
|
||||||
|
|
||||||
name: build - ubuntu-latest
|
# name: build - ubuntu-latest
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v3
|
# - uses: actions/checkout@v3
|
||||||
- name: Install stable toolchain
|
# - name: Install stable toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
# uses: actions-rs/toolchain@v1
|
||||||
with:
|
# with:
|
||||||
profile: minimal
|
# profile: minimal
|
||||||
toolchain: nightly
|
# toolchain: nightly
|
||||||
override: true
|
# override: true
|
||||||
- name: build - ubuntu-latest
|
# - name: build - ubuntu-latest
|
||||||
if: success() || failure()
|
# if: success() || failure()
|
||||||
run: chmod 777 ./ci_scripts/build-ubuntu.sh && ./ci_scripts/build-ubuntu.sh
|
# run: chmod 777 ./ci_scripts/build-ubuntu.sh && ./ci_scripts/build-ubuntu.sh
|
||||||
|
|
||||||
|
|
||||||
build-macos-latest:
|
build-macos-latest:
|
||||||
@ -49,46 +49,46 @@ jobs:
|
|||||||
if: success() || failure()
|
if: success() || failure()
|
||||||
run: chmod 777 ./ci_scripts/build-macos.sh && ./ci_scripts/build-macos.sh
|
run: chmod 777 ./ci_scripts/build-macos.sh && ./ci_scripts/build-macos.sh
|
||||||
|
|
||||||
lint:
|
# lint:
|
||||||
strategy:
|
# strategy:
|
||||||
matrix:
|
# matrix:
|
||||||
platform: [ ubuntu-latest ]
|
# platform: [ ubuntu-latest ]
|
||||||
runs-on: ${{ matrix.platform }}
|
# runs-on: ${{ matrix.platform }}
|
||||||
timeout-minutes: 60
|
# timeout-minutes: 60
|
||||||
|
|
||||||
name: lint - ${{ matrix.crate }} - ${{ matrix.platform }}
|
# name: lint - ${{ matrix.crate }} - ${{ matrix.platform }}
|
||||||
steps:
|
# steps:
|
||||||
- name: Checkout sources
|
# - name: Checkout sources
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
- name: Install stable toolchain
|
# - name: Install stable toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
# uses: actions-rs/toolchain@v1
|
||||||
with:
|
# with:
|
||||||
profile: minimal
|
# profile: minimal
|
||||||
toolchain: nightly
|
# toolchain: nightly
|
||||||
override: true
|
# override: true
|
||||||
components: rustfmt, clippy
|
# components: rustfmt, clippy
|
||||||
- name: lint - ubuntu-latest
|
# - name: lint - ubuntu-latest
|
||||||
if: success() || failure()
|
# if: success() || failure()
|
||||||
run: chmod 777 ./ci_scripts/lint-ubuntu.sh && ./ci_scripts/lint-ubuntu.sh
|
# run: chmod 777 ./ci_scripts/lint-ubuntu.sh && ./ci_scripts/lint-ubuntu.sh
|
||||||
|
|
||||||
|
|
||||||
test:
|
# test:
|
||||||
strategy:
|
# strategy:
|
||||||
matrix:
|
# matrix:
|
||||||
platform: [ ubuntu-latest ]
|
# platform: [ ubuntu-latest ]
|
||||||
runs-on: ${{ matrix.platform }}
|
# runs-on: ${{ matrix.platform }}
|
||||||
timeout-minutes: 60
|
# timeout-minutes: 60
|
||||||
|
|
||||||
name: test - ${{ matrix.crate }} - ${{ matrix.platform }}
|
# name: test - ${{ matrix.crate }} - ${{ matrix.platform }}
|
||||||
steps:
|
# steps:
|
||||||
- name: Checkout sources
|
# - name: Checkout sources
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
- name: Install stable toolchain
|
# - name: Install stable toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
# uses: actions-rs/toolchain@v1
|
||||||
with:
|
# with:
|
||||||
profile: minimal
|
# profile: minimal
|
||||||
toolchain: nightly
|
# toolchain: nightly
|
||||||
override: true
|
# override: true
|
||||||
- name: test ubuntu-latest
|
# - name: test ubuntu-latest
|
||||||
if: success() || failure()
|
# if: success() || failure()
|
||||||
run: chmod 777 ./ci_scripts/test-ubuntu.sh && ./ci_scripts/test-ubuntu.sh
|
# run: chmod 777 ./ci_scripts/test-ubuntu.sh && ./ci_scripts/test-ubuntu.sh
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user