Rangi
03452c6d4f
Allow git describe to get the version for FreeBSD and Cygwin in CI ( #1640 )
...
* Specify `safe.directory`
* Fetch tags
* Fetch all commits
2025-01-29 19:57:15 -05:00
Rangi
c2db23aef0
Run internal tests in FreeBSD ( #1616 )
2025-01-20 14:08:48 -05:00
Rangi
e561f63db3
Run internal tests in Cygwin ( #1592 )
2025-01-17 18:31:37 -05:00
Rangi
af9de812ec
Update libpng to 1.6.45 ( #1615 )
2025-01-17 14:41:38 -05:00
Rangi
5197e6b79f
Run gcc static analysis in CI ( #1587 )
2024-12-30 09:57:41 -05:00
Sylvie
c1b85554a8
Document obsolete syntax in rgbasm-old(5) ( #1571 )
2024-12-10 12:34:37 -05:00
Rangi42
ceb43c7aa4
Remove sample comments in workflow
2024-12-04 15:38:49 -05:00
Antonio Vivace
eae1ecb77e
ci: re-trigger build-container.yml with fine-grained PAT
2024-12-04 19:05:10 +01:00
Antonio Vivace
c4de6c402b
ci: clean up untagged artifacts
2024-12-04 18:57:43 +01:00
JL2210
e623aeb85d
Make tests work with CTest ( #1539 )
...
Adds option to disable non-free tests
2024-10-15 19:26:17 -04:00
Antonio Vivace
cbe44fed9b
ci: run only the "build tagged container image" step on tag pushes
2024-10-02 00:57:44 +02:00
Antonio Vivace
c439b8e27f
ci: add descriptions to built container images
2024-10-01 22:57:30 +02:00
Antonio Vivace
f93587c805
ci: give packages/write permission to build container image action
2024-09-22 01:14:44 +02:00
Antonio Vivace
a870f7de10
ci: tag release container images
2024-09-22 01:06:33 +02:00
Antonio Vivace
6b72067387
ci: add explicit write permission to the build container image job
2024-09-22 01:05:22 +02:00
Sylvie
84c01f064f
Refactor some workflows for consistency ( #1510 )
2024-09-21 11:12:09 -04:00
Rangi42
5d3e96662e
Only publish container for gbdev
2024-09-21 10:06:23 -04:00
Rangi42
91580043e0
Use latest docker/login-action
2024-09-21 09:59:28 -04:00
Antonio Vivace
3e28e92622
ci: build "master" container image and publish it to ghcr on every push
2024-09-20 16:49:25 +02:00
Eldred Habert
37b64ca51f
Give release workflow permission to create a release
2024-09-18 17:00:30 +02:00
ISSOtm
deb3ac3452
Update release instructions
2024-09-18 16:47:10 +02:00
Sylvie
7330c2c606
Replace unmangle with cygpath ( #1490 )
...
Use `-m` not `-w` so paths use forward slashes
2024-08-31 00:10:44 -04:00
Eldred Habert
718066c2cf
Build “fat binaries” for macOS ( #1461 )
...
The same binary, both for Intel and ARM Macs!
Builds libpng manually since the lib Brew distributes only contains code for the host arch.
2024-08-09 13:18:58 -04:00
Eldred Habert
a9140e6bb4
Fix incorrect name of macos-static artifact
2024-08-09 01:59:17 +02:00
Eldred Habert
fb6f861a08
Use macOS 14 in CI ( #1335 )
2024-08-08 22:16:32 +02:00
ISSOtm
784e828219
Enforce C++ compiler when building test binaries in CI too
2024-08-08 20:45:36 +02:00
Sylvie
9e1898238d
Remove unsupported macOS 11 from CI ( #1410 )
2024-06-17 14:30:57 -04:00
ISSOtm
d327138cd8
Report as many build errors as possible in CI
...
This allows debugging more problems in a single cycle
2024-03-28 01:37:10 +01:00
Sylvie
035678d250
Remove workaround for GitHub Actions issue ( #1368 )
2024-03-20 20:46:08 -04:00
Sylvie
33dd97b6a0
Fix CI builds for Ubuntu 22.04 ( #1361 )
...
Ubuntu 22.04 provides LLVM 14, which links an ASan version incompatible with
high-entropy ASLR in newer Linux kernels that GitHub Actions runners use.
2024-03-19 01:05:10 -04:00
Sylvie
a1bbb3b3f7
Strip CI binaries built with make ( #1345 )
2024-03-13 14:42:11 -04:00
Sylvie
68f6ab5c32
Add test cases for SECTION UNION defining multiple identical labels ( #1349 )
...
Exported labels should fail to link; non-exported ones should be okay.
2024-03-13 13:34:44 -04:00
ISSOtm
42d32c72a6
Use a unique name to upload W32/W64 binaries in CI
...
This now breaks in CI.
2024-03-13 01:07:28 +01:00
ISSOtm
81ed5fe41e
Update Actions to Node 20
...
There are some warnings in CI about this.
2024-03-13 00:15:43 +01:00
ISSOtm
0ea174f0dd
Stop explicitly passing zlib/libpng path to CMake in Windows CI
...
Turns out CMake auto-detects the libs just fine from the
`CMAKE_INSTALL_PREFIX`, and `PNG_BUILD_ZLIB` was actually breaking things.
2024-03-06 21:02:13 -05:00
Rangi42
35ec190664
Update Windows libpng to 1.6.43
2024-03-06 21:02:13 -05:00
Rangi42
94b724ae5f
Update to use winflexbison 2.5.25 (bison 3.8.2)
2024-03-06 17:56:16 -05:00
ISSOtm
8d48cc79a2
Update to Zlib 1.3.1
2024-02-08 11:08:08 +01:00
ISSOtm
528a4c0b70
Get rid of macOS hack to try having the filesystem cake and eat it too
2023-12-30 23:20:04 -05:00
ISSOtm
93d1d85f94
Generate macOS static bins under correct name
...
168950855 only did one half of the job, lol.
2023-12-29 23:25:28 +01:00
Rangi
1f3985a164
Fix build compatibility for macOS 10.14 and below ( #1280 )
...
macOS 10.15 introduced full `std::filesystem::path` support.
Before that our use of it would cause the build to fail.
This was not caught because "-mmacosx-version-min=10.9" was only
being passed to clang++ for release builds.
This passes that flag in a new static CI test build, and introduces
a hack developed by @LIJI32 to silence the availability errors,
since we use features already available in macOS 10.9.
This means we are testing both "vanilla" building,
and building static binaries using the same configuration
as during release, which should help avoiding last-minute
surprises.
2023-12-29 22:47:11 +01:00
Rangi
22ff7ff101
Add PinoBatch's game Libbet to the test suite ( #1260 )
2023-12-06 10:30:11 +01:00
Rangi
a218622d73
Remove checkpatch, since it's tuned for C not C++ ( #1250 )
...
Co-authored-by: Eldred Habert <eldredhabert0@gmail.com >
2023-11-22 19:26:08 +01:00
Eldred Habert
99671b8eb5
Avoid building test support programs by default with CMake ( #1244 )
...
Copy CMake-built test executables to test directory
Fixes CI failures on Windows.
CI should also have failed on Unices, but it turns out
we instead merely hit the fallback that the `make` path
relies on (building those executables with `make`),
which fails on Windows since `make` is not set up to
find libpng.
2023-11-21 09:54:22 -05:00
Eldred Habert
d390db5c57
Remove references to C compiler from CI ( #1234 )
2023-11-11 20:50:36 -05:00
Rangi
1e70e703a7
Build everything as C++ ( #1176 )
2023-11-07 21:45:56 +01:00
Rangi
a28f32a8a0
Download libpng source from GitHub, not SourceForge ( #1223 )
2023-11-07 08:29:01 +01:00
Rangi
99727cbe99
#!/bin/bash -> #!/usr/bin/env bash (#1216 )
2023-11-04 23:37:34 +01:00
Damian Yerrick
e1f0a13e5a
Allow defining local labels for another scope ( #1159 )
...
fix #1157 for the following source code
```
section "hSAVE_locals",HRAM
func3.hSpam: ds 1 ; no longer produces an error
;.hEggs: ds 1 ; uncomment this to see the new error
section "demo",ROM0
func3:
ldh a, [.hSpam]
ret
```
Remove two errors:
- `Not currently in the scope of 'func3'`
- `Local label 'func3.hSpam' in main scope`
Add one error:
- `Relative local label '.hSpam' in main scope`
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com >
2023-08-20 02:29:53 +02:00
Eldred Habert
168950855d
Create statically-linked Linux binaries on release ( #1148 )
...
Co-authored-by: Antonio Vivace <avivace4@gmail.com >
2023-07-08 22:04:00 +02:00