pack-bundle command + write callback #45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Rust | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build-linux: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: apt install | |
| run: sudo apt-get update && sudo apt-get install -y liblzma-dev | |
| - uses: actions/checkout@v4 | |
| - name: Build slim | |
| run: cargo build --no-default-features --verbose | |
| - name: Build | |
| run: cargo build --verbose | |
| - name: Run tests | |
| run: cargo test --verbose | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v4.4.3 | |
| with: | |
| name: ffbuildtool-linux | |
| path: target/debug/ffbuildtool* | |
| if-no-files-found: error | |
| build-windows: | |
| runs-on: windows-latest | |
| steps: | |
| - name: vcpkg install | |
| run: vcpkg install liblzma:x64-windows-static-md | |
| - name: vcpkg integrate | |
| run: vcpkg integrate install | |
| - uses: actions/checkout@v4 | |
| - name: Build slim | |
| run: cargo build --no-default-features --verbose | |
| - name: Build | |
| run: cargo build --verbose | |
| - name: Run tests | |
| run: cargo test --verbose | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v4.4.3 | |
| with: | |
| name: ffbuildtool-windows | |
| path: target/debug/ffbuildtool* | |
| if-no-files-found: error | |