-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also adjusted code with new Pimalaya standards.
- Loading branch information
Showing
21 changed files
with
1,829 additions
and
1,205 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: pre-release | ||
|
||
on: | ||
push: | ||
|
||
jobs: | ||
pre-release: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- target: x86_64-linux | ||
os: ubuntu-latest | ||
- target: aarch64-linux | ||
os: ubuntu-latest | ||
- target: x86_64-windows | ||
os: ubuntu-latest | ||
- target: x86_64-darwin | ||
os: macos-13 | ||
- target: aarch64-darwin | ||
os: macos-14 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- name: Install Nix | ||
uses: cachix/install-nix-action@v27 | ||
with: | ||
nix_path: nixpkgs=channel:nixos-24.05 | ||
enable_kvm: true | ||
extra_nix_config: "experimental-features = nix-command flakes" | ||
- name: Cache Nix store | ||
uses: cachix/cachix-action@v15 | ||
with: | ||
name: soywod | ||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | ||
extraPullNames: nix-community | ||
- name: Build release | ||
run: | | ||
nix build -L .#${{ matrix.target }} | ||
nix run -L .#${{ matrix.target }} -- --version | ||
- name: Upload release artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: "mml.${{ matrix.target }}" | ||
path: | | ||
result/bin/mml* | ||
result/bin/share |
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.