Skip to content

Implement the CI in GitHub Actions - #37

Open
illwieckz wants to merge 15 commits into
masterfrom
illwieckz/ci
Open

illwieckz wants to merge 15 commits into
masterfrom
illwieckz/ci

Conversation

@illwieckz

@illwieckz illwieckz commented Oct 10, 2026 •

Copy link
Copy Markdown
Member

GitHub Actions CI.

@illwieckz
illwieckz force-pushed the illwieckz/ci branch 5 times, most recently from a8354c0 to 89e4361 Compare October 11, 2026 01:00
@illwieckz

Copy link
Copy Markdown
Member Author

This is built atop #35 to properly build and test dump_syms_dwarf:

@illwieckz

illwieckz commented Oct 11, 2026 •

Copy link
Copy Markdown
Member Author

I added more tests to test for the presence of dump_syms, dump_syms_dwarf and dump_syms_mac, then actually test symbolizing a bunch of binaries.

@illwieckz

illwieckz commented Oct 11, 2026 •

Copy link
Copy Markdown
Member Author

So I have a working CI for:

  • Linux amd64 GCC
  • Linux arm64 GCC
  • Linux amd64 Clang
  • Windows amd64 MinGW
  • macOS amd64 AppleClang
  • macOS arm64 AppleClang

They all build the tools and run the tests successfully (arm64 builds are done on arm64 machines). The Windows job builds and runs on Linux (MinGW and Wine).

@illwieckz

Copy link
Copy Markdown
Member Author

@illwieckz
illwieckz force-pushed the illwieckz/ci branch 2 times, most recently from f9ce546 to e9f2afe Compare October 20, 2026 03:52
vm_image: ubuntu-26.04
apt_packages: g++-mingw-w64-x86-64 mingw-w64-x86-64-dev wine libcurl4-openssl-dev libz-mingw-w64-dev
mingw_flavor: posix
env_commands: export TESTDRIVER_SHARED_TEMP_WINEPREFIX=true

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does the CI use wine instead of real windows?

configure_options: --host=x86_64-w64-mingw32 --enable-static-mingw --disable-zstd
- name: Windows arm64 MinGW
vm_image: windows-11-arm
shell: msys2 {0}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's {0}?

steps:
- uses: actions/checkout@v7

- name: Checkout dependencies

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grammar nit: as a verb it should be check out, with a space. Likewise set up instead of setup in all cases except Setup commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants