|
|
@ -96,16 +96,18 @@ jobs:
|
|
|
|
|
|
|
|
|
|
|
|
- name: Run Tests
|
|
|
|
- name: Run Tests
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
cargo run -p skyd -- --nosave &
|
|
|
|
cargo run -p skyd --target ${{ matrix.rust }} -- --nosave --noart &
|
|
|
|
cargo test --verbose --target ${{ matrix.rust }} -- --test-threads=1
|
|
|
|
cargo test --verbose --target ${{ matrix.rust }} -- --test-threads=1
|
|
|
|
|
|
|
|
sudo pkill skyd
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
RUST_BACKTRACE: 1
|
|
|
|
RUST_BACKTRACE: 1
|
|
|
|
if: env.IS_MD_FILE == 'false' && runner.os != 'Windows'
|
|
|
|
if: env.IS_MD_FILE == 'false' && runner.os != 'Windows'
|
|
|
|
|
|
|
|
|
|
|
|
- name: Run Tests (Windows)
|
|
|
|
- name: Run Tests (Windows)
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
cargo run -p skyd -- --nosave &
|
|
|
|
cargo build -p skyd --target ${{ matrix.rust }}
|
|
|
|
cargo test --verbose --target ${{ matrix.rust }} -- --test-threads=1
|
|
|
|
START /B target\debug\skyd.exe --nosave --noart
|
|
|
|
|
|
|
|
cargo test --target ${{ matrix.rust }} --verbose -- --test-threads=1
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
RUST_BACKTRACE: 1
|
|
|
|
RUST_BACKTRACE: 1
|
|
|
|
shell: cmd
|
|
|
|
shell: cmd
|
|
|
@ -197,16 +199,18 @@ jobs:
|
|
|
|
|
|
|
|
|
|
|
|
- name: Run Tests
|
|
|
|
- name: Run Tests
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
cargo run -p skyd -- --nosave &
|
|
|
|
cargo run -p skyd --target ${{ matrix.rust }} -- --nosave --noart &
|
|
|
|
cargo test --verbose --target ${{ matrix.rust }} -- --test-threads=1
|
|
|
|
cargo test --verbose --target ${{ matrix.rust }} -- --test-threads=1
|
|
|
|
|
|
|
|
sudo pkill skyd
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
RUST_BACKTRACE: 1
|
|
|
|
RUST_BACKTRACE: 1
|
|
|
|
if: env.IS_MD_FILE == 'false' && runner.os == 'Linux'
|
|
|
|
if: env.IS_MD_FILE == 'false' && runner.os == 'Linux'
|
|
|
|
|
|
|
|
|
|
|
|
- name: Run Tests (Windows)
|
|
|
|
- name: Run Tests (Windows)
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
cargo run -p skyd -- --nosave &
|
|
|
|
cargo build -p skyd --target ${{ matrix.rust }}
|
|
|
|
cargo test --verbose --target ${{ matrix.rust }} -- --test-threads=1
|
|
|
|
START /B target\debug\skyd.exe --nosave --noart
|
|
|
|
|
|
|
|
cargo test --target ${{ matrix.rust }} --verbose -- --test-threads=1
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
RUST_BACKTRACE: 1
|
|
|
|
RUST_BACKTRACE: 1
|
|
|
|
shell: cmd
|
|
|
|
shell: cmd
|
|
|
@ -282,7 +286,7 @@ jobs:
|
|
|
|
restore-keys: |
|
|
|
|
restore-keys: |
|
|
|
|
${{ matrix.rust }}-target-
|
|
|
|
${{ matrix.rust }}-target-
|
|
|
|
if: env.IS_MD_FILE == 'false'
|
|
|
|
if: env.IS_MD_FILE == 'false'
|
|
|
|
|
|
|
|
|
|
|
|
- name: Install MUSL tools
|
|
|
|
- name: Install MUSL tools
|
|
|
|
run: sudo apt-get update && sudo apt-get install musl-tools -y
|
|
|
|
run: sudo apt-get update && sudo apt-get install musl-tools -y
|
|
|
|
if: runner.os == 'Linux'
|
|
|
|
if: runner.os == 'Linux'
|
|
|
@ -295,8 +299,9 @@ jobs:
|
|
|
|
|
|
|
|
|
|
|
|
- name: Run Tests
|
|
|
|
- name: Run Tests
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
cargo run -p skyd -- --nosave &
|
|
|
|
cargo run -p skyd --target ${{ matrix.rust }} -- --nosave --noart &
|
|
|
|
cargo test --verbose --target ${{ matrix.rust }} -- --test-threads=1
|
|
|
|
cargo test --verbose --target ${{ matrix.rust }} -- --test-threads=1
|
|
|
|
|
|
|
|
sudo pkill skyd
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
RUST_BACKTRACE: 1
|
|
|
|
RUST_BACKTRACE: 1
|
|
|
|
if: env.IS_MD_FILE == 'false' && runner.os == 'Linux'
|
|
|
|
if: env.IS_MD_FILE == 'false' && runner.os == 'Linux'
|
|
|
|