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
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
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
0 commit comments