Skip to content

Commit

Permalink
init workflow push
Browse files Browse the repository at this point in the history
  • Loading branch information
oklopfer committed Dec 6, 2023
1 parent 63fba68 commit 419dc75
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/binary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Nu-Tongues Binary Generation

on:
workflow_dispatch

jobs:
build_amd64:
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
- uses: actions/[email protected]

- name: Install needed packages
run: |
sudo rm -rf /var/lib/apt/lists/*
sudo sed -i 's/jammy/.\/devel/g' /etc/apt/sources.list
sudo apt-get update && sudo apt-get install rustc cargo -y
- name: Build
run: cargo build --target=x86_64-unknown-linux-gnu

- uses: actions/[email protected]
with:
name: nu-tongues (AMD64)
path: target/x86_64-unknown-linux-gnu

build_arm64:
runs-on: buildjet-4vcpu-ubuntu-2204-arm
steps:
- uses: actions/[email protected]

- name: Install needed packages
run: |
sudo rm -rf /var/lib/apt/lists/*
sudo sed -i 's/jammy/.\/devel/g' /etc/apt/sources.list
sudo apt-get update && sudo apt-get install rustc cargo -y
- name: Build
run: cargo build --target=aarch64-unknown-linux-gnu

- uses: actions/[email protected]
with:
name: nu-tongues (ARM64)
path: target/aarch64-unknown-linux-gnu

0 comments on commit 419dc75

Please sign in to comment.