fix a memory not release properly #6
This file contains hidden or 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: CMake on MacOS | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Configure CMake | |
run: cd ${{github.workspace}}/silkcodec && cmake -B ${{github.workspace}}/silkcodec/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} | |
- name: Build | |
run: cd ${{github.workspace}}/silkcodec/build && cmake .. | |
- name: Make | |
run: cd ${{github.workspace}}/silkcodec/build && make | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: libsilkcodec.dylib | |
path: ${{github.workspace}}/silkcodec/build/libsilkcodec.dylib |