Skip to content

Commit

Permalink
FLTK
Browse files Browse the repository at this point in the history
  • Loading branch information
dann1 authored Sep 23, 2023
2 parents afd5e77 + 7597ed7 commit 2961782
Show file tree
Hide file tree
Showing 5 changed files with 84 additions and 706 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,34 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v2
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable

- name: Install Dependencies (Ubuntu)
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get update && sudo apt-get install -y libx11-dev libxext-dev libxft-dev libxinerama-dev libxcursor-dev libxrender-dev libxfixes-dev libpango1.0-dev libpangoxft-1.0-0

- name: Build
run: cargo build --verbose
run: cargo build --release --verbose

- name: Run tests
run: cargo test --verbose
- name: Upload Artifacts

- name: Upload Artifacts UNIX
if: matrix.os != 'windows-latest'
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.os }}-artifact
path: |
target/release/troll_case
- name: Upload Artifacts UNIX
if: matrix.os == 'windows-latest'
uses: actions/upload-artifact@v2
with:
name: ${{ matrix.os }}-artifact
path: |
target/debug/my_executable
target/release/troll_case.exe
Loading

0 comments on commit 2961782

Please sign in to comment.