Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/build aarch64 #18

Merged
merged 26 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
4c6defc
wip: build for aarch64
francis2tm Feb 5, 2024
987d8a6
wip: attempt to trigger the pipeline
francis2tm Feb 5, 2024
3cbb66d
wip: attempt to trigger the pipeline
francis2tm Feb 5, 2024
d76906e
wip: attempt to trigger the pipeline
francis2tm Feb 5, 2024
e4eef1e
fix: ubuntu build
francis2tm Feb 5, 2024
a161b46
Merge remote-tracking branch 'origin/main' into feat/build_aarch64
francis2tm Feb 5, 2024
d22ed67
chore: changed how PRs trigger build pipeline
francis2tm Feb 5, 2024
ffc9c35
chore: changed how PRs trigger build pipeline
francis2tm Feb 5, 2024
0567110
chore: changed how PRs trigger build pipeline
francis2tm Feb 5, 2024
f8fdcd9
docs: added minor comments in build.yml
francis2tm Feb 5, 2024
b5e7a6e
chore: changed how pushes trigger build pipeline
francis2tm Feb 5, 2024
2d72c3e
chore: add args to tauri build workflow
francis2tm Feb 5, 2024
c826ea6
chore: add branch restriction for push event in build workflow
francis2tm Feb 5, 2024
df636b5
chore: updated llama_cpp-rs dep
francis2tm Feb 5, 2024
f10c8e4
chore: changed how pushes trigger build pipeline
francis2tm Feb 5, 2024
73ca095
chore: changed how pushes trigger build pipeline
francis2tm Feb 5, 2024
e108133
chore: changed how pushes trigger build pipeline
francis2tm Feb 5, 2024
5fc1044
chore: attempt to trigger workflow
francis2tm Feb 5, 2024
d7c7de7
chore: attempt to trigger workflow
francis2tm Feb 5, 2024
41ef386
chore: attempt to trigger workflow
francis2tm Feb 5, 2024
c8cf1e3
chore: attempt to trigger workflow
francis2tm Feb 5, 2024
bb268ed
chore: attempt to trigger workflow
francis2tm Feb 5, 2024
7b8f9d9
chore: attempt to trigger workflow
francis2tm Feb 5, 2024
35bd327
chore: attempt to trigger workflow
francis2tm Feb 5, 2024
ff46d4b
Merge remote-tracking branch 'origin/main' into feat/build_aarch64
francis2tm Feb 5, 2024
95a5d50
chore: updated llama.cpp dep
francis2tm Feb 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 17 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: "build"
on:
push:
branches: [ "*" ]
branches: ["main"]
pull_request:
branches: [ "*" ]
branches: ["main"]

# This is the example from the readme.
# On each push to the `main` branch it will create or update a GitHub build, build your app, and upload the artifacts to the build.
Expand All @@ -15,16 +15,25 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [ macos-latest, ubuntu-20.04, windows-latest ]
include:
- os: macos-latest
target: aarch64-apple-darwin
- os: macos-latest
target: x86_64-apple-darwin
- os: ubuntu-20.04
- os: windows-latest

runs-on: ${{ matrix.platform }}
runs-on: ${{ matrix.os }}
steps:
- name: "Setup actions/checkout"
uses: actions/checkout@v4

- name: "Setup rust"
uses: actions-rust-lang/setup-rust-toolchain@v1

- if: matrix.target
run: rustup target add ${{ matrix.target }}

- name: Install Node.js
uses: actions/setup-node@v3
with:
Expand All @@ -38,14 +47,14 @@ jobs:

# setup dependencies
- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
if: matrix.os == 'ubuntu-20.04'
run: |
sudo apt-get update
sudo apt-get install -y build-essential curl wget file libssl-dev libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev patchelf

# install llvm (for llvm-copy) on macos only
# install llvm (for llvm-copy) on macos only. For cpp runtimes.
- name: Install LLVM
if: matrix.platform == 'macos-latest'
if: matrix.os == 'macos-latest'
run: |
brew update
brew install llvm@17
Expand All @@ -67,3 +76,4 @@ jobs:
releaseDraft: true
prerelease: false
projectPath: ./edgen
args: ${{ matrix.target && format('--target {0}', matrix.target) }}
13 changes: 6 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading