chore: add more dist submodules #16
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: build | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| build-linux: | |
| name: Build / ubuntu-latest (x86_64) / ${{ matrix.target }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y inkscape | |
| - name: Install rust | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: nightly | |
| profile: minimal | |
| override: true | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Build | |
| uses: actions-rs/cargo@v1 | |
| with: | |
| command: build | |
| args: --release | |
| - name: Generate SVGs | |
| run: | | |
| mkdir -p artifacts | |
| for name in fossable sandpolis goldboot gantry turbine outpost; do | |
| target/release/fossable emblem ${name} --output artifacts --icon --bg | |
| target/release/fossable emblem ${name} --output artifacts --icon | |
| target/release/fossable emblem ${name} --output artifacts | |
| done | |
| - name: Generate PNGs | |
| run: ./raster.sh artifacts | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: fossable-assets | |
| path: artifacts | |