Import Anubis v1.28.2
Replace the tree with upstream TecharoHQ/anubis v1.28.2 (a1384fbf42e3). Masyunis customizations are re-applied in the following commits.
This commit is contained in:
1 parent
eb3e46d8d0
commit
e07de898cd
573 files changed
+35846
-6807
No files matched your search
@@ -0,0 +1,79 @@
|
||||
name: Package builds (unstable)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: ["main"]
|
||||
pull_request:
|
||||
branches: ["main"]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
actions: write
|
||||
|
||||
jobs:
|
||||
package_builds:
|
||||
runs-on: saga-techaro
|
||||
#runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
fetch-tags: true
|
||||
fetch-depth: 0
|
||||
|
||||
- name: build essential
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y build-essential brotli zstd
|
||||
|
||||
- name: Set up Homebrew
|
||||
run: |
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
|
||||
# Ubuntu 24.04 ships wixl 0.103, which aborts on the Component Condition
|
||||
# in run/windows/anubis.wxs ("unhandled child Component node Condition").
|
||||
# Homebrew has 0.106, the version mkmsi is written against.
|
||||
- name: install msitools
|
||||
run: |
|
||||
# Homebrew ships on the ubuntu-24.04 runner image but is not on PATH.
|
||||
if ! command -v brew >/dev/null; then
|
||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
fi
|
||||
brew update
|
||||
brew install msitools
|
||||
echo "$(brew --prefix)/bin" >> "$GITHUB_PATH"
|
||||
|
||||
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
||||
with:
|
||||
node-version: "24.15.0"
|
||||
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
|
||||
with:
|
||||
go-version: "stable"
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@ecabd13d1c56bd1345c230e542e9144811ad706f # v2.0.0
|
||||
with:
|
||||
cache: false
|
||||
target: wasm32-unknown-unknown
|
||||
- name: Setup `wasmtime`
|
||||
uses: bytecodealliance/actions/wasmtime/setup@9152e710e9f7182e4c29ad218e4f335a7b203613 # v1.1.3
|
||||
|
||||
- name: install node deps
|
||||
run: |
|
||||
npm ci
|
||||
|
||||
- name: Build Packages
|
||||
run: |
|
||||
go tool yeet
|
||||
|
||||
- name: Verify MSI contents
|
||||
env:
|
||||
# msitools is installed and the zips are built above, so a skipped
|
||||
# verification test here would be a green check that verified
|
||||
# nothing. See skipOrFail in internal/cmd/mkmsi/msi_test.go.
|
||||
MKMSI_REQUIRE_VERIFY: "true"
|
||||
run: |
|
||||
go test -count=1 -v -run TestMSI ./internal/cmd/mkmsi/
|
||||
|
||||
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
name: packages
|
||||
path: var/*
|
||||
Reference in new issue
Block a user