Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
2b6c50a
remove mount for ./sims in docker-compose
jordan-evens May 4, 2026
4b8a9ce
clang-format breaking .cmake files
jordan-evens May 12, 2026
2e3af2d
add 'cppcoreguidelines-pro-type-union-access' to .clang-tidy
jordan-evens May 12, 2026
e3050a1
change to use struct instead of tuple
jordan-evens May 5, 2026
3ec3aae
avoid using std::get
jordan-evens May 5, 2026
4415ba3
don't treat logging level differently than release mode when in debug…
jordan-evens May 19, 2026
f21be01
refactor Location and change positons to all be x/y and not row/column
jordan-evens May 20, 2026
907af0a
FIX: #16 - invalid start locations found due to not checking bounds
jordan-evens May 27, 2026
293fd76
change to output as (x,y)
jordan-evens May 28, 2026
1052c44
use x/y_value() for hash_to_xy_value()
jordan-evens May 28, 2026
5802e3d
don't use hash_to_xy_value()
jordan-evens May 28, 2026
48d8914
revert loop to x/y
jordan-evens May 28, 2026
84317c2
using namespace std::chrono_literals;
jordan-evens May 28, 2026
9931d85
update github workflow uses: versions
jordan-evens Jun 1, 2026
b12288d
remove ilammy/msvc-dev-cmd
jordan-evens Jun 1, 2026
8cefa04
use windows-2025-vs2026 instead of windows-latest
jordan-evens Jun 1, 2026
7b5e8e5
Update github actions (#23)
jordan-evens Jun 2, 2026
f8d7702
don't name exception to avoid warning about unused variable
jordan-evens Jun 2, 2026
5a65a31
prevent null point dereference when making Statistics with no values
jordan-evens Jun 2, 2026
9473cf1
change how dist is packaged
jordan-evens Jun 2, 2026
bbac48c
skip-decompress: true when downloading artifacts
jordan-evens Jun 3, 2026
7766d03
generate patch versions but still need to tag and edit .env for tagge…
jordan-evens Jun 16, 2026
74901c0
v0.9.12
jordan-evens Jun 16, 2026
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
1 change: 1 addition & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ Checks: "
cppcoreguidelines-pro-type-cstyle-cast,
-cppcoreguidelines-pro-type-member-init,
cppcoreguidelines-pro-type-reinterpret-cast,
-cppcoreguidelines-pro-type-union-access,
-cppcoreguidelines-pro-type-vararg,
-cppcoreguidelines-rvalue-reference-param-not-moved,
-cppcoreguidelines-special-member-functions,
Expand Down
6 changes: 5 additions & 1 deletion .docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,23 @@ RUN vcpkg/vcpkg install
# build and test
FROM vcpkg-installed AS firestarr-build
WORKDIR /appl/firestarr
# HACK: copy .env here since cmake needs to write to it in github workflow
COPY .env ./.env
# mount instead of copy to minimize layers
RUN --mount=type=bind,source=./cmake,target=./cmake \
--mount=type=bind,source=./CMakeLists.txt,target=./CMakeLists.txt \
--mount=type=bind,source=./CMakePresets.json,target=./CMakePresets.json \
--mount=type=bind,source=./.clang-format,target=./.clang-format \
--mount=type=bind,source=./.clang-tidy,target=./.clang-tidy \
--mount=type=bind,source=./.env,target=./.env \
--mount=type=bind,source=./.git,target=./.git \
--mount=type=bind,source=./src/cpp,target=./src/cpp \
--mount=type=bind,source=./test/data,target=./test/data \
--mount=type=bind,source=./test/input,target=./test/input \
--mount=type=bind,source=./fuel.lut,target=./fuel.lut \
--mount=type=bind,source=./settings.ini,target=./settings.ini \
--mount=type=bind,source=./README.md,target=./README.md \
--mount=type=bind,source=./ORIGIN.md,target=./ORIGIN.md \
--mount=type=bind,source=./LICENSE,target=./LICENSE \
cmake --preset Release \
&& cmake --build --parallel --preset Release \
&& ctest --preset Release
Expand Down
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
!./settings.ini
!./test
!./vcpkg*.json
!./README.md
!./ORIGIN.md
!./LICENSE
4 changes: 1 addition & 3 deletions .env
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
VERSION=0.9.11
USERNAME=user
USER_ID=1000
VERSION=0.9.12
32 changes: 20 additions & 12 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ jobs:
# arm64 == arm64/v8
platform: [amd64, arm64, ppc64le, riscv64, s390x]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
submodules: true

- name: Prepare
run: |
Expand All @@ -48,26 +52,26 @@ jobs:

- name: Docker meta
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: ${{ inputs.registry-image }}

- name: Login to GHCR
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4

- name: Build and push by digest
id: build
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: .
file: .docker/Dockerfile
Expand All @@ -87,7 +91,7 @@ jobs:
touch "${{ runner.temp }}/digests/${digest#sha256:}"

- name: Upload digest
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: digests-${{ inputs.image }}-${{ env.PLATFORM_PAIR }}
path: ${{ runner.temp }}/digests/*
Expand All @@ -101,28 +105,32 @@ jobs:
packages: write
needs: [ build-docker-image ]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 0
fetch-tags: true
submodules: true

- name: Download digests
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
path: ${{ runner.temp }}/digests
pattern: digests-${{ inputs.image }}-*
merge-multiple: true

- name: Login to GHCR
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4

- name: Docker meta
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: ${{ inputs.registry-image }}
flavor: |
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@ name: build-docker

on:
push:
branches:
- main
- dev
- unstable
paths-ignore:
- '.github/workflows/cmake-test.yml'
- '.github/workflows/docker-cleanup.yml'

workflow_dispatch:

jobs:
Expand Down
Loading
Loading