Make cid accessible from DtslServer (#26) #109
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: compile | |
on: | |
push: | |
paths: | |
- 'compileMbedtls.sh' | |
- '.github/workflows/compile-mbedtls.yml' | |
- '**/src/**/*.c' | |
jobs: | |
compile-linux: | |
name: "compile: linux-x86-64" | |
timeout-minutes: 5 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Compile | |
run: ./compileMbedtls.sh | |
- name: Archive artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: linux-x86-64 | |
path: mbedtls-lib/bin/linux-x86-64/* | |
if-no-files-found: error | |
compile-macos: | |
name: "compile: macos" | |
timeout-minutes: 5 | |
if: github.repository == 'open-coap/kotlin-mbedtls' | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Compile | |
run: LDFLAGS='-arch x86_64 -arch arm64' CFLAGS='-O2 -arch x86_64 -arch arm64' DLEXT=dylib OSARCH=darwin ./compileMbedtls.sh | |
- name: Archive artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: darwin | |
path: mbedtls-lib/bin/darwin/* | |
if-no-files-found: error | |
compile-windows: | |
name: "compile: windows" | |
timeout-minutes: 5 | |
runs-on: ubuntu-latest | |
container: | |
image: dockcross/windows-static-x64 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Compile | |
run: WINDOWS=1 LDFLAGS='-lws2_32 -lwinmm -lgdi32 -L. -static-libgcc' DLEXT=dll OSARCH=win32-x86-64 ./compileMbedtls.sh | |
- name: Archive artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: win32-x86-64 | |
path: mbedtls-lib/bin/win32-x86-64/* | |
if-no-files-found: error |