mirror of
https://github.com/zebrajr/SamRewritten.git
synced 2026-01-15 12:15:16 +00:00
37 lines
871 B
YAML
37 lines
871 B
YAML
# GitHub actions workflow.
|
|
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
|
|
|
|
name: Build CI
|
|
|
|
on:
|
|
push:
|
|
branches: [master, fix-*, feat-*]
|
|
tags: [v*]
|
|
pull_request:
|
|
types: [opened]
|
|
branches: [master]
|
|
|
|
jobs:
|
|
build:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-22.04]
|
|
cc: [gcc]
|
|
runs-on: ${{ matrix.os }}
|
|
env:
|
|
CC: ${{ matrix.cc }}
|
|
steps:
|
|
- run: sudo apt-get update -y
|
|
- run: sudo apt-get install -y libgtkmm-3.0-dev libcurl4-gnutls-dev libyajl-dev valgrind
|
|
- uses: actions/checkout@v3
|
|
- run: make
|
|
- run: sudo make install
|
|
- run: make clean
|
|
- run: which samrewritten
|
|
- run: cd package && ./build_appimage.sh
|
|
- name: Upload artifact
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: SamRewritten
|
|
path: package/Sam*.AppImage
|