Continuous Integration on Ubuntu, macOS and Windows #208
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Implements continuous integration (CI) to build
LuaSec(on push and pull requests) on Ubuntu, macOS and Windows (x64architecture) using multiple Lua versions and interpreters:Note
On Windows, we build
LuaSecusing bothMSVCandMinGW-w64toolchains.Important
On each platform (Ubuntu, macOS and Windows), the process to build OpenSSL from source code usually takes a lot of time (> 20 minutes). For this reason, we:
homebrewon macOSMSVCtoolchainMinGW-w64toolchains (gccandclang) fromMSYS2Changes
luasec-dev-1.rockspec, mirrored fromluasec-1.3.2-1.rockspec, used to drive the build on CI;.github/workflows/test.yamlsuch that:testjob is used to buildLuaSecemploying the Lua versions described above on Ubuntu, macOS and Windows (MSVConly);test-MinGW-w64job is used to buildLuaSecemploying the Lua versions described above on Windows (MinGW-w64only), using eithergccorclang.PS
In the future, in case you need any help to update the proposed workflow whenever it stops working, just mention me using @