Skip to content

replace TravisCI by GitHub Actions CI - #477

Draft
swurzinger wants to merge 3 commits into
freebasic:masterfrom
swurzinger:ci-gha
Draft

replace TravisCI by GitHub Actions CI#477
swurzinger wants to merge 3 commits into
freebasic:masterfrom
swurzinger:ci-gha

Conversation

@swurzinger

Copy link
Copy Markdown
Contributor

Travis CI has been used previously for building fbc and running its tests, however travis-ci.org has been shut down in 2020 and the free service offering for open-source projects no longer exists as of ~2022. GitHub offers a generous CI service that includes linux, mac and windows support for free, so I'd suggest to switch to this.

This PR contains a basic CI script for building multiple versions of fbc on multiple platforms:

  • linux, x86_64
    • gen gcc
    • gen gcc, debug enabled
    • gen gas
  • windows, x86 (also built on x86_64 machine)
  • windows, x86_64
  • documentation (build on windows, due to HTML Help Compiler dependency)

- Linux: default, debug (-g -exx), and gas64 backend variants
- Windows: x86 (MINGW32) and x64 (MINGW64) standalone builds
- Bootstrap compiler cached between runs
- Two-pass build: bootstrap then self-hosted rebuild
- Unit tests, log tests, warning/syntax regression tests
- fbdoc build validation on Linux
- Artifacts: fbc binary (Linux), standalone packages (Windows)
Depends on the Windows job, reuses the fbc-win64 artifact.
Builds fbdoc tools, generates all documentation formats
(CHM, HTML, TXT, fbhelp, wakka) from cached wiki pages.
Installs HTML Help Workshop for CHM compilation.
Uploads all formats as a single artifact.
CI has been fully migrated to GitHub Actions.
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.

1 participant