Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
412 commits
Select commit Hold shift + click to select a range
27c9a2e
This fixes the one component case.
aous72 Sep 20, 2024
0c6dfd3
Removes compilation warnings.
aous72 Sep 20, 2024
9f8011c
This fixes a bug in the block decoder code. The bug can happen when …
aous72 Sep 20, 2024
7b0f5c8
Improvement for pfm_in, and a bug fix for handling signed pfm data.
aous72 Sep 20, 2024
b6ddad9
This should address "strict-aliasing". Cosmetic change to a wasm file…
aous72 Sep 20, 2024
1580ae7
This address one more warning.
aous72 Sep 20, 2024
9e97f99
Hopefully, this will remove warnings.
aous72 Sep 20, 2024
bcc4d3b
Added usage text for ojph_compress. Also , the end user must now spe…
aous72 Sep 20, 2024
11307b6
Change default signedness of .pfm to true.
aous72 Sep 22, 2024
57c7af3
This adds some codestream checking in ojph_expand.
aous72 Sep 22, 2024
796fb6b
Spelling mistake fix.
aous72 Sep 22, 2024
f9fdf80
Merge pull request #154 from aous72/Adding_NLT
aous72 Sep 22, 2024
77aae49
README.md Update
aous72 Sep 22, 2024
00d2335
Updated link to GPU Encoding Paper in README.md
aous72 Oct 11, 2024
82ee92f
Starting adding support for up to 32bit lossless precision encoding
aous72 Oct 22, 2024
7e5e240
The front end is complete for generic code (not SIMD).
aous72 Oct 29, 2024
5115fb5
Fixes warnings.
aous72 Oct 29, 2024
4d47c40
A bug fix.
aous72 Oct 29, 2024
186e3ed
A bug fix.
aous72 Oct 29, 2024
6993317
Code supports 64 bits, no SIMD, no codeblock encoding/decoding
aous72 Oct 30, 2024
b4e3879
64 bit block encoder/decoder done. No SIMD. Bug in Tiles.
aous72 Nov 1, 2024
163f426
Version bump.
aous72 Nov 1, 2024
c927c04
Changed fail-fast to false
aous72 Nov 1, 2024
3581607
ojph_compress for pfm does not need bit_depth
aous72 Nov 1, 2024
3992c83
update to workflow
aous72 Nov 1, 2024
075ee13
Avoids warnings, and a bug fix -- macos not compiling.
aous72 Nov 1, 2024
abd993d
This should compile on macos
aous72 Nov 1, 2024
630217f
Bug fixes. There are other bugs for 32 lossless.
aous72 Nov 2, 2024
2b6fb15
Reduce warnings.
aous72 Nov 2, 2024
8e1935f
Bug fixes. 32 bit loss should be working now. MacOS may still have …
aous72 Nov 3, 2024
6fb5add
Addresses one warning.
aous72 Nov 3, 2024
8558809
Another attempt to address warning.
aous72 Nov 3, 2024
eafb965
Address another warning
aous72 Nov 3, 2024
5f99c89
Most of the SIMD is done. No wasm yet.
aous72 Nov 5, 2024
1c297b2
A bug fix.
aous72 Nov 5, 2024
c46732f
Removes warnings.
aous72 Nov 5, 2024
da0e69b
Test on Mac-14
aous72 Nov 5, 2024
8114a11
Testing on mac-13
aous72 Nov 5, 2024
c73bfe4
reduces reliance on literals
aous72 Nov 5, 2024
6a4824d
Adds missing limits.h
aous72 Nov 5, 2024
ae28cd0
Let's see without simd.
aous72 Nov 5, 2024
3dc2465
Put back SIMD.
aous72 Nov 5, 2024
4339c8f
A warning fix.
aous72 Nov 5, 2024
9834f17
Incomplete colour_avx2, avx512, and wasm.
aous72 Nov 6, 2024
75259b8
I should have committed these incomplete files.
aous72 Nov 6, 2024
9d2a048
splitting decoder into 32/64 to solve macOS failing tests.
aous72 Nov 6, 2024
e803914
Automated SPqcd to use the LSBs as well.
aous72 Nov 7, 2024
b33083a
AVX2 is done. Bug fix for SPqcd.
aous72 Nov 7, 2024
34e3fc3
Removing two unnecessary lines.
aous72 Nov 7, 2024
f37ae83
All wasm code has been done -- needs extensive tests.
aous72 Nov 8, 2024
1383f9b
All wasm code was tested except for NLT.
aous72 Nov 8, 2024
e86d6c8
This completes the AVX512 code.
aous72 Nov 8, 2024
e96d6da
Added comment to test_executables regarding testing.
aous72 Nov 8, 2024
6386daf
Fixed the SPqcd issue.
aous72 Nov 9, 2024
3292374
This is to address issue #157.
aous72 Nov 9, 2024
c09dfa0
Address warnings in Linux
aous72 Nov 9, 2024
631d781
This modfied raw file processing to support 32bits.
aous72 Nov 9, 2024
576fef9
Changes the messages of ojph_compress.
aous72 Nov 9, 2024
6541f2c
This address codeQL
aous72 Nov 10, 2024
bca572f
Merge pull request #158 from aous72/Adding_32bit_lossless
aous72 Nov 10, 2024
dd011ac
Addresses a couple of warnings.
aous72 Nov 10, 2024
811f3a2
Address warnings in clang.
aous72 Nov 10, 2024
f92e28d
Fixes LTO warnings, and hopefully illegal instruction.
aous72 Dec 5, 2024
c262935
Version bump
aous72 Dec 5, 2024
4c1cad5
Merge pull request #160 from aous72/addressing_lto
aous72 Dec 5, 2024
ca66e88
This fixes a bug which wrongly sets implementation precision.
aous72 Dec 9, 2024
949d376
Merge pull request #161 from aous72/implementation_precision_bug
aous72 Dec 9, 2024
a85e756
Fixes a bug when a resolution has one 64bit line.
aous72 Dec 13, 2024
7d8ea08
Merge pull request #162 from aous72/bug_64bit_oneline_transform
aous72 Dec 13, 2024
4a3958f
Makes all colour components involved in colour transform employ the s…
aous72 Dec 13, 2024
23633ba
Fixes warning.
aous72 Dec 13, 2024
1b20dbc
Merge pull request #163 from aous72/make_all_colour_comps_use_same_pr…
aous72 Dec 13, 2024
50cdb9e
Add relative includes
palemieux Jan 7, 2025
fae7a95
Remove export
palemieux Jan 7, 2025
5a3d15f
Add missing slash
palemieux Jan 8, 2025
7a2f6ea
Merge pull request #166 from palemieux/feature/install-fix-openexr
aous72 Jan 9, 2025
124270e
Cosmetic changes, moved param_qcd validation from .h to .cpp
aous72 Jan 13, 2025
579d7dd
Merge branch 'master' of https://github.com/aous72/OpenJPH
aous72 Jan 13, 2025
af15dd0
Modified NLT, NLT Validity needs work
aous72 Jan 13, 2025
9e675b3
Major change to NLT, QCD, QCC to support differing multiple component…
aous72 Jan 15, 2025
8d3b058
Improvements. Bug Fixes. Version Bump.
aous72 Jan 15, 2025
bd914a9
Improvements, bug fixes.
aous72 Jan 16, 2025
5551112
Improvements and bug fixes.
aous72 Jan 16, 2025
a81e55f
Fixes warnings.
aous72 Jan 20, 2025
aed95f6
Merge pull request #169 from aous72/supporting_differing_components
aous72 Jan 20, 2025
7086c36
Generic NLT code is added. Testing is needed.
aous72 Jan 21, 2025
d065c76
Fixes warning on Mac.
aous72 Jan 21, 2025
bf48100
Fixes compilation.
aous72 Jan 21, 2025
e60473c
Bug fixes. Improvements.
aous72 Jan 22, 2025
e0a3c2b
Added SIMD, except for the 32bit path. Wasm SIMD is missing. Not tes…
aous72 Jan 22, 2025
66286f3
Fixes compilation Error.
aous72 Jan 22, 2025
293eacd
Added missing path in AVX2. Not tested.
aous72 Jan 22, 2025
78bade8
WASM code written. Must test all SIMD now.
aous72 Jan 23, 2025
3527f0a
Fixes function pointer assignment.
aous72 Jan 23, 2025
fd295de
Bug fixes, some historic.
aous72 Jan 23, 2025
9ec50da
A bug fix.
aous72 Jan 23, 2025
ef9f713
Bug Fixes.
aous72 Jan 24, 2025
2ea19eb
Updated WASM SIMD
aous72 Jan 25, 2025
9c22320
Bug fixes.
aous72 Jan 25, 2025
99e33f9
Adopting the NLT type3 routine design for other routines. Major change.
aous72 Jan 26, 2025
e24c2ca
Addressing Warnings.
aous72 Jan 26, 2025
42b2efd
WASM compilation fix.
aous72 Jan 26, 2025
e21bfd0
Improvement and bug fixes.
aous72 Jan 27, 2025
9921864
A bug fix.
aous72 Jan 27, 2025
d846338
A version bump.
aous72 Jan 27, 2025
545acbd
Merge pull request #170 from aous72/adding_NLT_to_lossy
aous72 Jan 27, 2025
8b1c7e6
Add export definition
palemieux Jan 25, 2025
30603e5
Remove libtiff from emcc support
palemieux Jan 28, 2025
592ef72
Changes complete to add support for COC. Test is next.
aous72 Jan 28, 2025
68a6c34
Fixes compilation issue.
aous72 Jan 28, 2025
e3e6b4d
Fixes warnings.
aous72 Jan 28, 2025
bf4b0db
Bug Fixes.
aous72 Jan 29, 2025
52a865e
Version bump.
aous72 Jan 29, 2025
02f3aa2
Merge pull request #172 from aous72/supporting_differing_components
aous72 Jan 29, 2025
b683d40
Clean-up EMCC
palemieux Jan 31, 2025
fa087e7
Fix CI
palemieux Jan 31, 2025
1368ddf
Merge pull request #173 from palemieux/add-export
aous72 Jan 31, 2025
7cd6186
Testing emsdk again.
aous72 Jan 31, 2025
a468fe2
This improves WASM, and enable us to disable SIMD with a flag.
aous72 Feb 2, 2025
19c65e5
Fixing emcc yaml
aous72 Feb 2, 2025
22462b8
Small fix.
aous72 Feb 2, 2025
03802f0
Updating js subproject
aous72 Feb 2, 2025
2ba1b73
Merge pull request #174 from aous72/improving_wasm
aous72 Feb 2, 2025
fece138
This is a better arrangement for parsing.
aous72 Feb 2, 2025
4bf915c
Further changes.
aous72 Feb 2, 2025
dd9bd6d
Merge pull request #176 from aous72/modifying_packet_parsing
aous72 Feb 2, 2025
c74721a
Updated apps, and version bump for release.
aous72 Feb 2, 2025
5b50d46
Addresses warning.
aous72 Feb 2, 2025
57e5931
Merge pull request #178 from aous72/update_for_lossy_compression
aous72 Feb 2, 2025
54562b3
Update CMakeLists.txt for config file naming convention
kmilos Feb 3, 2025
c062d93
Merge pull request #180 from kmilos/patch-1
aous72 Feb 3, 2025
732fb5a
Fixing typos
aous72 Feb 16, 2025
1644105
Merge branch 'master' of https://github.com/aous72/OpenJPH
aous72 Feb 16, 2025
3dcad47
This enables compilation, with bug fixes. Still a lot of warnings.
aous72 Feb 18, 2025
efb13ab
Fixes warnings for 64bit.
aous72 Feb 18, 2025
967863d
Merge pull request #181 from aous72/32bit_compilation
aous72 Feb 18, 2025
a15e54c
CMake: polish export config
kmilos Feb 19, 2025
d38c3e3
Rename pkgconf template
kmilos Feb 19, 2025
3181392
Merge pull request #182 from kmilos/cmake-config
aous72 Feb 20, 2025
66cfbb0
Fixes max_val corruption due to sample values outside the line.
aous72 Mar 6, 2025
4cbce54
This should solve warnings.
aous72 Mar 6, 2025
68f4014
wasm modification done, next we test.
aous72 Mar 6, 2025
79aaca7
Fixes compilation.
aous72 Mar 6, 2025
48b82e2
Further compilation fix.
aous72 Mar 6, 2025
b705ee1
Version bump.
aous72 Mar 6, 2025
5df0f8c
Merge pull request #183 from aous72/unnecessarily_coded_blocks_bug
aous72 Mar 6, 2025
7fd6235
This is to support multi-generation
aous72 May 28, 2025
a206e4d
Fixing WASM SIMD compilation error
aous72 May 28, 2025
a3fecaf
Updating CI to test on Ubuntu 22.04 instead of 20.04
aous72 May 28, 2025
45f2825
This adds -fPIC to the library.
aous72 May 28, 2025
1cb2d85
Remove unnecessary code.
aous72 May 28, 2025
6c7c84a
Bump the version
aous72 May 28, 2025
756cd10
Small Improvement, and CI update.
aous72 May 29, 2025
6576c2b
This is to fix CI problem
aous72 May 29, 2025
eb1774a
Merge pull request #185 from aous72/multi-generation
aous72 May 29, 2025
cf6ad26
Adding placeholder passes. Code works, but needs more testing when we…
aous72 Jul 31, 2025
481f7ff
This is better.
aous72 Aug 11, 2025
8246e79
Bug fix placeholder passes. Simplify code. Version bump.
aous72 Aug 11, 2025
57e5592
This should fix the problem for the time being.
aous72 Aug 13, 2025
2ff2b1b
Merge pull request #190 from aous72/issue_188
aous72 Aug 13, 2025
4ca0a9d
Merge branch 'master' into placeholder_passes
aous72 Aug 13, 2025
cd8e6a4
Merge pull request #191 from aous72/placeholder_passes
aous72 Aug 13, 2025
bfc2436
This fixes a build failure on GCC 9.3.1, and a warning.
aous72 Aug 14, 2025
caa3d3d
Merge pull request #192 from aous72/fix4gcc931
aous72 Aug 14, 2025
4e3e6b9
WIP
aous72 Aug 17, 2025
06342f0
Bug fix for mem_outfile
aous72 Aug 20, 2025
cd44004
This fixed all reamining issues with restart().
aous72 Aug 24, 2025
a88e337
Merge pull request #194 from aous72/restart
aous72 Aug 24, 2025
be997ab
Adds a note on `.raw` file extension to usage_examples.md
aous72 Aug 24, 2025
a7eed94
Exposes used_size for mem_outfile
hmaarrfk Aug 25, 2025
0e41000
Also expose buf_size
hmaarrfk Aug 25, 2025
db86e05
Update ojph_file.h
aous72 Aug 25, 2025
eb3b709
Handle platform diff of -fPIC
HeaoYe Aug 25, 2025
f166de2
don't use delete with malloc on store
hmaarrfk Aug 28, 2025
5d97c27
Merge pull request #199 from hmaarrfk/patch-1
aous72 Aug 30, 2025
6a66602
Merge pull request #197 from HeaoYe/handle_platform_diff_of_fpic
aous72 Aug 30, 2025
265c703
Reformat openjph.pc.in
kmilos Sep 8, 2025
3fd5004
Align CMake and pkgconf include paths
kmilos Sep 8, 2025
d613718
Add missing Cflags
kmilos Sep 9, 2025
80c9d9b
Merge pull request #201 from kmilos/patch-1
aous72 Sep 11, 2025
7d2ec60
Merge pull request #195 from hmaarrfk/expose_get_used_size_for_mem_ou…
aous72 Sep 11, 2025
58a774a
Version bump because we exposed two calls.
aous72 Sep 11, 2025
4bb038d
Fixes warning and potentially a bug in ojph_params_local.h
aous72 Sep 11, 2025
d10f2ca
Merge pull request #202 from aous72/a_few_pr
aous72 Sep 11, 2025
f3b3ca8
Adding MSVC ARM test to CI
aous72 Sep 16, 2025
c7145b2
Fixes compilation for Windows on ARM (#205)
aous72 Sep 17, 2025
8d5be89
Addresses Issues #206 and #207
aous72 Sep 23, 2025
3c89901
This pull requests adds aligned memory allocation for mem_outfile
aous72 Sep 23, 2025
269d337
Version bump
aous72 Sep 23, 2025
f6e094c
Merge pull request #209 from aous72/issues
aous72 Sep 23, 2025
a927d87
This is to fix compilation on MinGW
aous72 Sep 23, 2025
d806e58
Merge pull request #210 from aous72/compilation_fix
aous72 Sep 23, 2025
4ff49b8
Update C++ CI to include MinGW
aous72 Sep 23, 2025
7b0bd50
Update C++ CI to include MinGW
aous72 Sep 23, 2025
6fc1237
Fixes compiling ojph_stream_expand on MinGW
aous72 Sep 23, 2025
2abecf8
Update C++ CI to include MinGW
aous72 Sep 24, 2025
4f1519c
opjh_stream_expand build tweaks
kmilos Sep 24, 2025
be69197
Improved CMakeLists.txt for ojph_stream_expand build
aous72 Sep 24, 2025
746b6b9
Fix another Windows detection macro
kmilos Sep 24, 2025
4e76810
Support testing for both Cygwin and MSYS
kmilos Sep 24, 2025
d29c268
Corrects a preprocessor macro.
aous72 Sep 24, 2025
51c736f
Support testing for both Cygwin and MSYS
aous72 Sep 24, 2025
1f891d3
Issues (#216)
aous72 Oct 1, 2025
d081919
Fixes compilation and tests for MSYS2 (#217)
aous72 Oct 1, 2025
a0ae0ee
Issues3 (#218)
aous72 Oct 2, 2025
d34ecfe
`nlt_type3[i]` not initialized when `get_nonlinear_transform() == fal…
MrApplejuice Oct 8, 2025
8e572b8
Forgot to bump the version.
aous72 Oct 8, 2025
7fdd422
Fixes a bug where illegally long QCD,QCC can cause data corruption.
aous72 Oct 27, 2025
deadd9a
Fixes an issue with ATK marker segment processing (#224)
aous72 Oct 29, 2025
8b9e25d
version bump
aous72 Oct 29, 2025
26a4bf9
Addresses openexr oss-fuzz 5747129672073216 (#225)
aous72 Oct 31, 2025
8120253
Make aligned_alloc/free C functions (#227)
aous72 Oct 31, 2025
37d3028
Fixes a bug that was discovered during OSS-Fuzz. (#228)
aous72 Nov 8, 2025
06477af
Version bump.
aous72 Nov 8, 2025
626e18b
Another version bump due bc I forgot the bump earlier.
aous72 Nov 8, 2025
b7d12b0
Update cpp-ci because github will stop supporting macos-13
aous72 Nov 8, 2025
d95c583
apps: ojph_sockets: Detect __GLIBC__ before using GNU-flavour strerro…
ziyao233 Nov 16, 2025
762528c
Modifies the declaration of aligned allocation for better compatibili…
aous72 Nov 16, 2025
edc3210
Update codeql.yml
aous72 Nov 19, 2025
239200d
Changed the messaging format -- may break code.
aous72 Dec 24, 2025
47f3ccc
Addresses issue #235
aous72 Dec 24, 2025
a1d29da
Merge branch 'master' of https://github.com/aous72/OpenJPH
aous72 Dec 24, 2025
4d4f4e8
Merges PR #236, and another two smaller issues. (#237)
aous72 Dec 24, 2025
8e597d1
Adds ARM CPU feature detection for FreeBSD and OpenBSD (#238)
brad0 Jan 4, 2026
25940a1
Bug fix (#244)
aous72 Feb 15, 2026
98242b5
Bug fix (#245)
aous72 Feb 17, 2026
cb6592a
Bug fix (#248)
aous72 Feb 17, 2026
484a2f0
Add initial support for oss-fuzz (#249)
palemieux Feb 18, 2026
4beac80
Fix fuzzing build (#250)
palemieux Feb 18, 2026
9c4961b
Renamed file to avoid duplicate library names in custom builds. (#252)
dlemstra Feb 20, 2026
96ed432
* Validate dimensions in the SIZ marker segment after reading it from…
palemieux Feb 24, 2026
40da132
Fixed the issue introduced in the earlier comment, and compacted code.
aous72 Feb 24, 2026
8a8bcd3
Fix: Rule of 3/5/7 violation. Adds move constructor and assignment op…
geo-ant Feb 24, 2026
373989b
Fix typo in the signature of get_tile_offset() (#254)
palemieux Feb 24, 2026
005b7ea
Fixes a bug triggered by unrealistic codestream
aous72 Feb 25, 2026
457cee7
Another bug fix
aous72 Feb 25, 2026
02ab726
Fixing the bug we just introduced.
aous72 Feb 25, 2026
2d23ccc
Modified the object thrown on out-of-memory condition
aous72 Feb 25, 2026
d479df2
Another bug fix
aous72 Feb 25, 2026
1f6ad44
Fix oss-fuzz build (#256)
palemieux Feb 25, 2026
79f040c
fix move special functions in mem in and outfile (#258)
geo-ant Feb 25, 2026
ae9a534
Add support for CIFuzz (#259)
palemieux Feb 26, 2026
43e4715
Fix race condition in table initialization with multiple threads (#243)
brechtvl Feb 26, 2026
0ec2184
Fix 32-bit ARM SIGBUS: align elastic allocator payload for coded_list…
cary-ilm Mar 19, 2026
59329f4
Add Linux-ARM32 Build (#263)
palemieux Mar 19, 2026
4617a8f
Make build_arm32 the only manual build
aous72 Mar 19, 2026
9b576c6
Extend fuzzing harness to add more reachability (#264)
DavidKorczynski Apr 5, 2026
d7cd869
Fix ARM64EC builds by excluding ARM64EC from x64(_M_X64) detection on…
navvyswethgraphics Apr 8, 2026
c3a6d8e
Version bump
aous72 Apr 13, 2026
4d5eab5
fix: handle truncated tile header decode errors gracefully
wayfarer3130 Apr 28, 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
453 changes: 201 additions & 252 deletions .github/workflows/ccp-workflow.yml

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions .github/workflows/cifuzz.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CIFuzz
on: [pull_request]
jobs:
Fuzzing:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Build Fuzzers
id: build
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
with:
oss-fuzz-project-name: "openjph"
- name: Run Fuzzers
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
with:
oss-fuzz-project-name: "openjph"
fuzz-seconds: 600
- name: Upload Crash
uses: actions/upload-artifact@v4
if: failure() && steps.build.outcome == 'success'
with:
name: artifacts
path: ./out/artifacts
10 changes: 5 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,19 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'cpp', 'python' ]
language: [ 'cpp' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby', 'swift' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -64,7 +64,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v4

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand All @@ -77,6 +77,6 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v4
with:
category: "/language:${{matrix.language}}"
47 changes: 47 additions & 0 deletions .github/workflows/emcc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Build with EMCC

on:
push:
pull_request:
types: [opened, reopened]

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Configure emcc
uses: mymindstorm/setup-emsdk@v14
with:
actions-cache-folder: 'emsdk-cache'

- name: Build non-SIMD and Debug
run: |
cd build
emcmake cmake .. --fresh -DOJPH_DISABLE_SIMD=ON -DCMAKE_BUILD_TYPE=Debug
cmake --build . --config Debug --clean-first
cd ..

- name: Build non-SIMD and Release
run: |
cd build
emcmake cmake .. --fresh -DOJPH_DISABLE_SIMD=ON -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release --clean-first
cd ..

- name: Build SIMD and Debug
run: |
cd build
emcmake cmake .. --fresh -DOJPH_DISABLE_SIMD=OFF -DCMAKE_BUILD_TYPE=Debug
cmake --build . --config Debug --clean-first
cd ..

- name: Build SIMD and Release
run: |
cd build
emcmake cmake .. --fresh -DOJPH_DISABLE_SIMD=OFF -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release --clean-first
cd ..
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.DS_Store
mytest/*
others/*
lib/*

.vscode
build.sh
Loading
Loading