mirror of
https://github.com/SAT-R/sa2.git
synced 2026-10-28 09:43:38 +00:00
1 parent
6411545bca
commit
c3b39a4087
4 files changed
+41
-11
No files matched your search
+34
-10
@@ -42,13 +42,6 @@ jobs:
|
||||
- name: Checkout
|
||||
if: ${{ github.event_name == 'push' }}
|
||||
uses: actions/checkout@master
|
||||
|
||||
- name: Checkout gh-pages
|
||||
if: ${{ github.event_name == 'push' }}
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
path: gh-pages
|
||||
ref: gh-pages
|
||||
|
||||
- name: Checkout agbcc
|
||||
uses: actions/checkout@master
|
||||
@@ -58,8 +51,11 @@ jobs:
|
||||
|
||||
- name: Install tools
|
||||
run: |
|
||||
sudo apt update && sudo apt install gcc-arm-none-eabi binutils-arm-none-eabi
|
||||
sudo apt update && sudo apt install gcc-arm-none-eabi binutils-arm-none-eabi xorg-dev
|
||||
python3 -m pip install gitpython
|
||||
# build-essential, git, and libpng-dev are already installed
|
||||
# gcc-arm-none-eabi is only needed for the modern build
|
||||
# as an alternative to dkP
|
||||
|
||||
- name: Install agbcc
|
||||
run: |
|
||||
@@ -78,7 +74,6 @@ jobs:
|
||||
python3 scripts/progress.py text
|
||||
|
||||
- name: Generate reports
|
||||
if: ${{ github.event_name == 'push' }}
|
||||
run: |
|
||||
mkdir -p gh-pages/reports
|
||||
mkdir -p gh-pages/maps
|
||||
@@ -88,8 +83,37 @@ jobs:
|
||||
python3 scripts/progress.py shield-json -m > gh-pages/reports/progress-sa1-shield-matching.json
|
||||
echo "REPORTS_COMMIT_MSG=$( git log --format=%s ${GITHUB_SHA} )" >> $GITHUB_ENV
|
||||
cp sa1.map gh-pages/maps/${GITHUB_SHA}.map
|
||||
|
||||
- name: Upload progress
|
||||
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
path: |
|
||||
gh-pages
|
||||
|
||||
- name: Update reports
|
||||
publish-progress:
|
||||
name: Publish progress
|
||||
runs-on: ubuntu-24.04
|
||||
needs: [build-gba]
|
||||
# Only able to run from repo pull requests (by maintainers, or on the main branch via push)
|
||||
if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' }}
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Checkout gh-pages
|
||||
uses: actions/checkout@master
|
||||
with:
|
||||
path: gh-pages
|
||||
ref: gh-pages
|
||||
- name: Download progress
|
||||
uses: actions/download-artifact@v7
|
||||
with:
|
||||
path: |
|
||||
gh-pages
|
||||
- run: |
|
||||
cd gh-pages
|
||||
git status
|
||||
- name: Publish reports
|
||||
if: ${{ github.event_name == 'push' }}
|
||||
uses: EndBug/add-and-commit@v7
|
||||
with:
|
||||
|
||||
Vendored
+1
-1
@@ -3,7 +3,7 @@ CC = gcc
|
||||
|
||||
SOURCE = arena_alloc.c
|
||||
|
||||
# Clear the default suffixes
|
||||
# Clear the default suffixes (needed to fix build race condition)
|
||||
.SUFFIXES:
|
||||
|
||||
.PHONY: all clean
|
||||
|
||||
+3
@@ -8,6 +8,9 @@ SRCS = c_header_parser.c
|
||||
|
||||
CFLAGS = -I $(ARENA_ALLOC_DIR) -Wall -Wextra -Werror $(NO_ERROR) -std=gnu11 -O2
|
||||
|
||||
# Clear the default suffixes (needed to fix build race condition)
|
||||
.SUFFIXES:
|
||||
|
||||
.PHONY: all clean
|
||||
|
||||
all: libc_header_parser.a
|
||||
|
||||
Vendored
+3
@@ -9,6 +9,9 @@ SRCS = csv_conv.c
|
||||
CFLAGS = -I $(CSV_CONV_DIR) -Wall -Wextra -Werror $(NO_ERROR) -std=gnu11 -O2
|
||||
LDFLAGS =
|
||||
|
||||
# Clear the default suffixes (needed to fix build race condition)
|
||||
.SUFFIXES:
|
||||
|
||||
.PHONY: all clean
|
||||
|
||||
all: libcsv_conv.a
|
||||
|
||||
Reference in new issue
Block a user