build: Bump bagop and hydrun support, drop unsupported Windows builds
This commit is contained in:
@@ -6,6 +6,9 @@ on:
|
||||
schedule:
|
||||
- cron: "0 0 * * 0"
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
build-linux:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -14,27 +17,21 @@ jobs:
|
||||
target:
|
||||
- id: test
|
||||
src: .
|
||||
os: golang:1.18beta1-bullseye # 1.18 is required due to `GroupIds` requiring CGo on older versions
|
||||
flags: "-e '--ulimit nofile=262144:262144'" # Parallel tests require a lot of open files
|
||||
cmd: GOFLAGS="-short" ./Hydrunfile test
|
||||
dst: out/*
|
||||
- id: go
|
||||
src: .
|
||||
os: golang:1.18beta1-bullseye # 1.18 is required due to `GroupIds` requiring CGo on older versions
|
||||
os: golang:bookworm
|
||||
flags: ""
|
||||
cmd: ./Hydrunfile go
|
||||
cmd: go test ./...
|
||||
dst: out/*
|
||||
- id: gccgo
|
||||
- id: go-stfs
|
||||
src: .
|
||||
os: golang:bookworm
|
||||
flags: ""
|
||||
cmd: ./Hydrunfile go stfs
|
||||
dst: out/*
|
||||
- id: gccgo-stfs
|
||||
src: .
|
||||
os: ghcr.io/pojntfx/bagccgop-base-sid
|
||||
flags: -e '--privileged'
|
||||
cmd: ./Hydrunfile gccgo
|
||||
dst: out/*
|
||||
- id: windows-386
|
||||
src: .
|
||||
os: fedora:rawhide
|
||||
flags: -e '--privileged'
|
||||
cmd: ./Hydrunfile windows 386
|
||||
cmd: ./Hydrunfile gccgo stfs
|
||||
dst: out/*
|
||||
|
||||
steps:
|
||||
@@ -63,6 +60,7 @@ jobs:
|
||||
with:
|
||||
name: ${{ matrix.target.id }}
|
||||
path: ${{ matrix.target.dst }}
|
||||
|
||||
publish-linux:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build-linux
|
||||
@@ -74,12 +72,15 @@ jobs:
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
path: /tmp/out
|
||||
- name: Extract branch name
|
||||
id: extract_branch
|
||||
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
|
||||
- name: Publish pre-release to GitHub releases
|
||||
if: ${{ github.ref == 'refs/heads/main' }}
|
||||
uses: marvinpinto/action-automatic-releases@latest
|
||||
with:
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
automatic_release_tag: unstable
|
||||
automatic_release_tag: release-${{ steps.extract_branch.outputs.branch }}
|
||||
prerelease: true
|
||||
files: |
|
||||
/tmp/out/*/*
|
||||
|
||||
Reference in New Issue
Block a user