Skip to content

Commit

Permalink
Update egui and set version 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
quietvoid committed Jan 17, 2024
1 parent 1f09ac9 commit f6d64c7
Show file tree
Hide file tree
Showing 4 changed files with 562 additions and 468 deletions.
22 changes: 5 additions & 17 deletions .github/workflows/artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,35 +21,23 @@ jobs:
include:
- build: Windows
os: windows-latest
rust: stable

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install Rust
if: matrix.rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
default: true
uses: dtolnay/rust-toolchain@stable

- name: Get the version
shell: bash
run: |
echo "RELEASE_PKG_VERSION=$(cargo pkgid | cut -d# -f2 | cut -d: -f2)" >> $GITHUB_ENV
- name: Install VapourSynth (Windows)
run: build/win64-vs-setup.ps1

- name: Build (Windows)
if: matrix.build == 'Windows'
run: |
$Env:Path += ";C:\Program Files\VapourSynth;"
cargo build --release
run: cargo build --release

- name: Create artifact directory
run: |
mkdir ${{ env.RELEASE_DIR }}
run: mkdir ${{ env.RELEASE_DIR }}

- name: Create zipfile (Windows)
if: matrix.build == 'Windows'
Expand All @@ -59,7 +47,7 @@ jobs:
7z a ./${{ env.RELEASE_DIR }}/${{ env.RELEASE_BIN }}-${{ env.RELEASE_PKG_VERSION }}-${{ env.WINDOWS_TARGET }}.zip ./${{ env.RELEASE_BIN }}.exe
- name: Upload Zip
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.build }}
path: ./${{ env.RELEASE_DIR }}
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
ci:
name: Check, test, rustfmt and clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install Rust, clippy and rustfmt
uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt

- name: Check
run: |
cargo check --workspace --all-features
- name: Test
run: |
cargo test --workspace --all-features
- name: Rustfmt
run: |
cargo fmt --all --check
- name: Clippy
run: |
cargo clippy --workspace --all-features --all-targets --tests -- --deny warnings --verbose
Loading

0 comments on commit f6d64c7

Please sign in to comment.