Skip to content

Commit 7deaaa1

Browse files
acidicMercury8rgimad
authored andcommitted
Enable GitHub Actions
1 parent c0208a4 commit 7deaaa1

2 files changed

Lines changed: 65 additions & 0 deletions

File tree

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
2+
3+
name: "Build packers"
4+
5+
on:
6+
push:
7+
branches:
8+
- "**"
9+
paths:
10+
- ".github/workflows/**"
11+
- "Makefile*"
12+
- "*.asm"
13+
- "lzma_c/**"
14+
15+
pull_request:
16+
branches:
17+
- "**"
18+
paths:
19+
- ".github/workflows/**"
20+
- "Makefile*"
21+
- "*.asm"
22+
- "lzma_c/**"
23+
24+
defaults:
25+
run:
26+
shell: bash
27+
28+
jobs:
29+
build-packers:
30+
name: "Build packers"
31+
32+
strategy:
33+
matrix:
34+
system:
35+
- ubuntu-24.04
36+
37+
runs-on: ${{ matrix.system }}
38+
39+
steps:
40+
- name: Checkout
41+
uses: actions/checkout@v4
42+
with:
43+
fetch-depth: 0
44+
45+
- name: Setup toolchain
46+
run: |
47+
sudo apt update
48+
sudo apt install -y \
49+
build-essential \
50+
fasm
51+
52+
- name: Build packers
53+
run: |
54+
make
55+
56+
- name: Upload modification
57+
uses: actions/upload-artifact@v4
58+
with:
59+
name: ${{ github.event.repository.name }}-${{ matrix.system }}-${{ github.sha }}
60+
path: |
61+
${{ github.workspace }}/kpack
62+
${{ github.workspace }}/kerpack

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
kerpack
2+
kpack
3+
*.o

0 commit comments

Comments
 (0)