WIP: Add github workflow to build Linux releases #1
Workflow file for this run
This file contains 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: "Ark: Build Linux Releases" | ||
on: | ||
# TODO: Remove this | ||
push: | ||
workflow_call: | ||
inputs: | ||
version: | ||
required: false | ||
description: "The Ark version" | ||
default: ${{ github.sha }} | ||
type: string | ||
workflow_dispatch: | ||
jobs: | ||
build_linux: | ||
Check failure on line 16 in .github/workflows/release-linux.yml GitHub Actions / Ark: Build Linux ReleasesInvalid workflow file
|
||
name: Build Linux packages | ||
runs-on: ubuntu-latest-8x | ||
timeout-minutes: 60 | ||
needs: [get_version] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
strategy: | ||
matrix: | ||
arch: [x64] | ||
flavor: [debug, release] | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
- name: Setup Build Environment | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y cargo | ||
- name: Compile ARK (${{ matrix.flavor }}) | ||
run: | | ||
cargo clean | ||
cargo build ${{ matrix.flavor == 'release' && '--release' || '' }} |