From 06c40b4d41f698692ddef102b1f5fafb2f7e2f00 Mon Sep 17 00:00:00 2001
From: Peter Galonza
Date: Tue, 14 May 2024 00:20:12 +0300
Subject: [PATCH] add build CI
---
.github/workflows/build.yml | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
create mode 100644 .github/workflows/build.yml
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 000000000..13487f45b
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,35 @@
+name: Build Atmosphere
+
+on:
+ push:
+ branches:
+ - evaron-master
+ paths-ignore:
+ - 'Dockerfile'
+ # tags:
+ # - '[0-9]+.[0-9]+.[0-9]+'
+
+defaults:
+ run:
+ shell: bash
+
+jobs:
+ build:
+ name: build
+ runs-on: ubuntu-latest
+ container: ghcr.io/${{ github.repository_owner }}/devkita64-atmosphere:latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ - name: Build Atmosphere
+ run: |
+ source /opt/venv/bin/activate
+ git config --global --add safe.directory "*"
+ make
+ - name: Upload artifacts
+ uses: actions/upload-artifact@v4
+ with:
+ name: atmosphere-artifacts
+ path: ./out/nintendo_nx_arm64_armv8a/release/*