Skip to content

Commit d8ba83e

Browse files
committed
update actions to new rust action and temp disable win builds
1 parent 22c266d commit d8ba83e

2 files changed

Lines changed: 35 additions & 37 deletions

File tree

.github/workflows/ci.yml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
run: |
1818
sudo apt-get update
1919
sudo apt-get install g++ make autoconf automake libtool pkg-config nasm git
20-
git clone --branch release-3.0.4 --depth 1 https://github.com/sekrit-twc/zimg.git
20+
git clone --branch release-3.0.6 --depth 1 https://github.com/sekrit-twc/zimg.git
2121
cd zimg
2222
./autogen.sh
2323
./configure
@@ -31,7 +31,7 @@ jobs:
3131
make
3232
sudo make install
3333
- name: Set up Rust
34-
uses: actions-rs/toolchain@v1
34+
uses: actions-rust-lang/setup-rust-toolchain@v1
3535
with:
3636
toolchain: stable
3737
override: true
@@ -59,35 +59,7 @@ jobs:
5959
run: |
6060
brew install vapoursynth
6161
- name: Set up Rust
62-
uses: actions-rs/toolchain@v1
63-
with:
64-
toolchain: stable
65-
override: true
66-
components: rustfmt, clippy
67-
- name: Build
68-
run: |
69-
cargo build
70-
- name: Test
71-
run: |
72-
cargo test --workspace --lib --bins --tests --benches
73-
- name: Lint
74-
run: |
75-
cargo clippy
76-
- name: Check format
77-
run: |
78-
cargo fmt -- --check
79-
build-test-lint-windows:
80-
name: Windows - build, test and lint
81-
runs-on: windows-latest
82-
steps:
83-
- uses: actions/checkout@v2
84-
with:
85-
submodules: recursive
86-
- name: Install VapourSynth
87-
run: |
88-
pip install vapoursynth-portable==61
89-
- name: Set up Rust
90-
uses: actions-rs/toolchain@v1
62+
uses: actions-rust-lang/setup-rust-toolchain@v1
9163
with:
9264
toolchain: stable
9365
override: true
@@ -104,3 +76,31 @@ jobs:
10476
- name: Check format
10577
run: |
10678
cargo fmt -- --check
79+
# build-test-lint-windows:
80+
# name: Windows - build, test and lint
81+
# runs-on: windows-latest
82+
# steps:
83+
# - uses: actions/checkout@v2
84+
# with:
85+
# submodules: recursive
86+
# - name: Install VapourSynth
87+
# run: |
88+
# https://github.com/vapoursynth/vapoursynth/releases/download/R72/VapourSynth64-Portable-R72.zip
89+
# - name: Set up Rust
90+
# uses: actions-rust-lang/setup-rust-toolchain@v1
91+
# with:
92+
# toolchain: stable
93+
# override: true
94+
# components: rustfmt, clippy
95+
# - name: Build
96+
# run: |
97+
# cargo build
98+
# - name: Test
99+
# run: |
100+
# cargo test --workspace --lib --bins --tests --benches
101+
# - name: Lint
102+
# run: |
103+
# cargo clippy
104+
# - name: Check format
105+
# run: |
106+
# cargo fmt -- --check

.github/workflows/docs.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,15 @@ jobs:
2222
with:
2323
submodules: recursive
2424
- name: Set up Rust
25-
uses: actions-rs/toolchain@v1
25+
uses: actions-rust-lang/setup-rust-toolchain@v1
2626
with:
2727
toolchain: stable
2828
override: true
2929
- name: Run doc
30-
uses: actions-rs/cargo@v1
31-
with:
32-
command: doc
33-
args: --verbose
30+
run: |
31+
cargo doc --workspace --no-deps
3432
- name: Deploy documentation
35-
uses: actions/upload-pages-artifact@v1
33+
uses: actions/upload-pages-artifact@v3
3634
with:
3735
path: target/doc
3836
- name: Deploy to GitHub Pages

0 commit comments

Comments
 (0)