@@ -19,7 +19,7 @@ jobs: | |||||
id: builder | id: builder | ||||
working-directory: ${{ env.working-directory }} | working-directory: ${{ env.working-directory }} | ||||
run: | | run: | | ||||
bash build-docker.sh | |||||
PRESERVE_CONTAINER=1 bash build-docker.sh | |||||
echo ::set-output name=filename::$(ls deploy/*.tar.xz | xargs -n 1 basename) | echo ::set-output name=filename::$(ls deploy/*.tar.xz | xargs -n 1 basename) | ||||
- name: Fix Permissions | - name: Fix Permissions | ||||
id: fix_perm_filename | id: fix_perm_filename | ||||
@@ -45,4 +45,8 @@ jobs: | |||||
upload_url: ${{ steps.create_release.outputs.upload_url }} | upload_url: ${{ steps.create_release.outputs.upload_url }} | ||||
asset_path: ${{ env.working-directory }}/deploy/${{ steps.builder.outputs.filename }} | asset_path: ${{ env.working-directory }}/deploy/${{ steps.builder.outputs.filename }} | ||||
asset_name: ${{ steps.builder.outputs.filename }} | asset_name: ${{ steps.builder.outputs.filename }} | ||||
asset_content_type: application/zip | |||||
asset_content_type: application/x-tar | |||||
- name: Delete Image | |||||
id: delete_image | |||||
run: | | |||||
rm ${{ env.working-directory }}/deploy/${{ steps.builder.outputs.filename }} |
@@ -16,7 +16,7 @@ jobs: | |||||
id: builder | id: builder | ||||
working-directory: ${{ env.working-directory }} | working-directory: ${{ env.working-directory }} | ||||
run: | | run: | | ||||
bash build-docker.sh | |||||
PRESERVE_CONTAINER=1 bash build-docker.sh | |||||
echo ::set-output name=filename::$(ls deploy/*.tar.xz | xargs -n 1 basename) | echo ::set-output name=filename::$(ls deploy/*.tar.xz | xargs -n 1 basename) | ||||
- name: Fix Permissions | - name: Fix Permissions | ||||
id: fix_perm_filename | id: fix_perm_filename | ||||
@@ -26,4 +26,8 @@ jobs: | |||||
- uses: actions/upload-artifact@v1 | - uses: actions/upload-artifact@v1 | ||||
with: | with: | ||||
name: ${{ steps.builder.outputs.filename }} | name: ${{ steps.builder.outputs.filename }} | ||||
path: ${{ env.working-directory }}/deploy/${{ steps.builder.outputs.filename }} | |||||
path: ${{ env.working-directory }}/deploy/${{ steps.builder.outputs.filename }} | |||||
- name: Delete Image | |||||
id: delete_image | |||||
run: | | |||||
rm ${{ env.working-directory }}/deploy/${{ steps.builder.outputs.filename }} |
@@ -12,7 +12,7 @@ cd LimeSuite | |||||
git pull | git pull | ||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
cmake -DCMAKE_CXX_LINK_FLAGS="$(DCMAKE_CXX_LINK_FLAGS) -latomic" ../ | |||||
cmake -DCMAKE_CXX_FLAGS=-latomic ../ | |||||
make -j$(nproc) install | make -j$(nproc) install | ||||
ldconfig | ldconfig | ||||
@@ -12,7 +12,7 @@ cd gr-limesdr | |||||
git pull | git pull | ||||
mkdir -p build | mkdir -p build | ||||
cd build | cd build | ||||
cmake ../ | |||||
cmake -DCMAKE_CXX_FLAGS=-latomic ../ | |||||
make -j$(nproc) install | make -j$(nproc) install | ||||
ldconfig | ldconfig | ||||
EOF | EOF |