Przeglądaj źródła

Fixes for self-hosted actions.

tags/v4.0.0-beta.1
Luigi Cruz 4 lat temu
rodzic
commit
25b613ce77
4 zmienionych plików z 14 dodań i 6 usunięć
  1. +6
    -2
      .github/workflows/release.yml
  2. +6
    -2
      .github/workflows/validate.yml
  3. +1
    -1
      builder/stage4/07-pisdr-limesdr/00-run.sh
  4. +1
    -1
      builder/stage4/07-pisdr-limesdr/01-run.sh

+ 6
- 2
.github/workflows/release.yml Wyświetl plik

@@ -19,7 +19,7 @@ jobs:
id: builder
working-directory: ${{ env.working-directory }}
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)
- name: Fix Permissions
id: fix_perm_filename
@@ -45,4 +45,8 @@ jobs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ env.working-directory }}/deploy/${{ 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 }}

+ 6
- 2
.github/workflows/validate.yml Wyświetl plik

@@ -16,7 +16,7 @@ jobs:
id: builder
working-directory: ${{ env.working-directory }}
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)
- name: Fix Permissions
id: fix_perm_filename
@@ -26,4 +26,8 @@ jobs:
- uses: actions/upload-artifact@v1
with:
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 }}

+ 1
- 1
builder/stage4/07-pisdr-limesdr/00-run.sh Wyświetl plik

@@ -12,7 +12,7 @@ cd LimeSuite
git pull
mkdir -p build
cd build
cmake -DCMAKE_CXX_LINK_FLAGS="$(DCMAKE_CXX_LINK_FLAGS) -latomic" ../
cmake -DCMAKE_CXX_FLAGS=-latomic ../
make -j$(nproc) install
ldconfig



+ 1
- 1
builder/stage4/07-pisdr-limesdr/01-run.sh Wyświetl plik

@@ -12,7 +12,7 @@ cd gr-limesdr
git pull
mkdir -p build
cd build
cmake ../
cmake -DCMAKE_CXX_FLAGS=-latomic ../
make -j$(nproc) install
ldconfig
EOF

Ładowanie…
Anuluj
Zapisz