Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
cbe5b11
temp push
C0dex73 Aug 1, 2025
4170274
with src files snapshot
C0dex73 Aug 1, 2025
7278045
reverse snapshot part1
C0dex73 Aug 1, 2025
5a05084
reverse snapshot part 2
C0dex73 Aug 1, 2025
675b916
1.1 linux only
C0dex73 Oct 9, 2025
fd987ea
win only
C0dex73 Oct 12, 2025
4d3cddd
1.1 linux && windows
C0dex73 Oct 13, 2025
288ce78
Create build.yml
C0dex73 Oct 13, 2025
b5d3e39
Delete src/.github/workflows directory
C0dex73 Oct 13, 2025
40e97f5
Create build.yml
C0dex73 Oct 13, 2025
120217d
fixed bug in ubuntu env
C0dex73 Oct 13, 2025
683c02c
fixed bug in ubuntu env 2
C0dex73 Oct 13, 2025
a1efc6e
fixed : wrong package to download for glfw in build workflow
C0dex73 Oct 13, 2025
08f3989
fixed : build bug due to wildcard not taking in account runtime produ…
C0dex73 Oct 13, 2025
e7fb6a0
fixed wrong package download for glfw and sh-only bugs
C0dex73 Oct 13, 2025
66179b2
fixed wrong folder to copy to dist branch
C0dex73 Oct 13, 2025
24a7b20
changed job name for the future job 'windows-build'
C0dex73 Oct 13, 2025
ee5e183
windows action
C0dex73 Oct 19, 2025
d779a70
win action : install make in msys2
C0dex73 Oct 19, 2025
bec1a45
added gcc to msys2 win action
C0dex73 Oct 19, 2025
5770f99
Delete build/linux/simulation
C0dex73 Oct 19, 2025
4e6cc9a
Delete build/linux/simulation_dyn_console
C0dex73 Oct 19, 2025
43cf12e
Delete build/linux/test.asset
C0dex73 Oct 19, 2025
66cb5b7
Merge pull request #2 from Bitwise-re/C0dex73-build-delete
C0dex73 Oct 19, 2025
616e150
removed assets folder in the dist push in winbuild action
C0dex73 Oct 19, 2025
043c55d
Merge branch '1.1' of github.com:Bitwise-re/c-template into 1.1
C0dex73 Oct 19, 2025
045f07b
removed the assets folder in linux build and added tag to winbuild push
C0dex73 Oct 19, 2025
794ff95
all workflow in one
C0dex73 Oct 19, 2025
e30a294
build workflow rework
C0dex73 Oct 19, 2025
ce65d7b
action rework
C0dex73 Oct 19, 2025
9f6c65b
added tag to release
C0dex73 Oct 19, 2025
76f35ab
debug action
C0dex73 Oct 19, 2025
a92eafe
debug 2 workflow
C0dex73 Oct 19, 2025
1765cd0
modified tag
C0dex73 Oct 19, 2025
8976fc1
debug 3 workflow
C0dex73 Oct 19, 2025
5cd1892
debug n+1
C0dex73 Oct 19, 2025
383e587
debug Inf
C0dex73 Oct 19, 2025
d96cd88
debug TREE(3)
C0dex73 Oct 19, 2025
26df8e6
release body format
C0dex73 Oct 19, 2025
5938ec1
fixed unallowed tag format
C0dex73 Oct 19, 2025
b3c49f5
created test battery
C0dex73 Oct 19, 2025
49ba614
Merge branch '1.1' of github.com:Bitwise-re/c-template into 1.1
C0dex73 Oct 19, 2025
a716882
fixed perms
C0dex73 Oct 19, 2025
ac957c7
added tests to the test battery
C0dex73 Oct 19, 2025
d84adb5
general cleanup
C0dex73 Oct 19, 2025
e342fa9
added Nflag filter
C0dex73 Oct 19, 2025
648822d
added a readme and armed build workflow for main
C0dex73 Oct 19, 2025
8abee1a
updated README
C0dex73 Oct 19, 2025
730f109
removed test on push
C0dex73 Oct 19, 2025
0b77226
Create LICENSE
C0dex73 Oct 20, 2025
5cec0fd
detach build workflow from old source code used in dev
C0dex73 Oct 20, 2025
35d3e71
Update README.md
C0dex73 Oct 20, 2025
3157d4d
adds build process flowchart to the README
C0dex73 Oct 21, 2025
6e6684e
Update README.md
C0dex73 Oct 21, 2025
a7f709b
Update build process flowchart
C0dex73 Oct 21, 2025
daffc87
update the node flag system
C0dex73 Oct 21, 2025
5bfeccf
Merge branch '1.1' of github.com:Bitwise-re/c-template into 1.1
C0dex73 Oct 21, 2025
6ab2f58
Update build process flowchart
C0dex73 Oct 21, 2025
96f3978
gitignore update
C0dex73 Nov 5, 2025
adb1f93
Update README.md
C0dex73 Nov 5, 2025
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
60 changes: 60 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Application Build

on:
workflow_call:

permissions:
contents: write

jobs:
linux-build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install tar
run: sudo apt install -y tar

- name: build
run: make build DEPLOY=True

- name: Create tarball
run: ( cd build/linux ; tar -acvf ../../application-linux.tar.gz ./* )

- name: Store Linux build
uses: actions/upload-artifact@v4
with:
name: linux-build
path: ./application-linux.tar.gz

windows-build_x86:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Config MSYS2 for UCRT64
uses: msys2/setup-msys2@v2
with:
msystem: UCRT64
update: true
install: >-
make
gcc
zip

- name: Build
shell: msys2 {0}
run: |
make build DEPLOY=True

- name: Compress build into zip archive
shell: msys2 {0}
run: ( cd build/windows ; zip -r ../../application-windows.zip ./* )

- name: Store Windows build
uses: actions/upload-artifact@v4
with:
name: windows-build
path: ./application-windows.zip
42 changes: 42 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Application Deployment

on:
push:
branches: [ "main" ]

permissions:
contents: write

jobs:
build:
uses: ./.github/workflows/build.yml


deployement:
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Get linux tarball
uses: actions/download-artifact@v4
with:
name: linux-build
path: ./

- name: Get windows zip archive
uses: actions/download-artifact@v4
with:
name: windows-build
path: ./

- name: Create the release
uses: ncipollo/release-action@v1
with:
artifacts: "./application-windows.zip,./application-linux.tar.gz"
commit: ${{ github.event.head_commit.id }}
generateReleaseNotes: true
makeLatest: true
name: "${{ github.event.repository.name }} - ${{ github.event.head_commit.message }}"
tag: "v${{ github.event.head_commit.id }}"
58 changes: 58 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Test battery

on: [ pull_request ]

permissions:
contents: write

jobs:
pre-build:
name: Pre Build Check
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Tests
run: make test

build:
name: Check Build Chain
uses: ./.github/workflows/build.yml

post-build-linux:
name: Post Build Check On Linux
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Get linux tarball
uses: actions/download-artifact@v4
with:
name: linux-build
path: ./

- name: Tests
run: echo insert post build tests here

post-build-windows:
name: Post Build Check On Windows
needs: build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Get windows zip archive
uses: actions/download-artifact@v4
with:
name: windows-build
path: ./

- name: Tests
run: echo insert post build tests here
18 changes: 8 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,26 +1,24 @@
#environnement related
#~ environnement related
.git/
.vscode/

#binaries
#~ binaries
**.o
**.dll
**.lib
**.a
**.so
bin/**

#files generated from makefile
**.dep
#build files
build/**
!build/assets/**

#ignore all dist files except for the static content (all files in subfolders are presumed static content, otherwise specify the concerned files here)
dist/*
!dist/*/
!dist/*/*

#dev folders
#~ dev folders
temp/**
test/**
#! put test files you want to be shared with others here

#~ exceptions

!**.gitkeep
Loading