-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate 0.1.1 (#4)
- Loading branch information
Showing
72 changed files
with
3,744 additions
and
350 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Sync issue to Azure DevOps work item | ||
|
||
on: | ||
issues: | ||
types: | ||
[opened, edited, deleted, closed, renamed, reopened, labeled, unlabeled, assigned] | ||
|
||
jobs: | ||
alert: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: danhellem/github-actions-issue-to-work-item@master | ||
env: | ||
ado_token: "${{ secrets.ADO_PERSONAL_ACCESS_TOKEN }}" | ||
github_token: "${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}" | ||
ado_organization: "${{ secrets.ADO_ORGANIZATION }}" | ||
ado_project: "${{ secrets.ADO_PROJECT }}" | ||
ado_wit: "Bug" | ||
ado_new_state: "New" | ||
ado_active_state: "Active" | ||
ado_resolved_state: "Resolved" | ||
ado_close_state: "Closed" | ||
ado_bypassrules: true | ||
log_level: 100 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
name: NIGHTLY_CI | ||
on: | ||
push: | ||
branches: | ||
- main | ||
- dev | ||
schedule: | ||
- cron: '30 8 * * *' | ||
|
||
jobs: | ||
build-and-test: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: rfsxbuild.azurecr.io/gnuradiopipeline:3.9.2.0-3 | ||
credentials: | ||
username: ${{ secrets.ACR_PRINCIPAL_ID }} | ||
password: ${{ secrets.ACR_PRINCIPAL_PWD }} | ||
timeout-minutes: 20 | ||
|
||
steps: | ||
- uses: actions/checkout@master | ||
- name: Build | ||
run: | | ||
cd gr-azure-software-radio; pip install -r python/requirements.txt | ||
mkdir build; cd build; cmake ..; cmake --build . -j --config Release | ||
- name: Install | ||
run: | | ||
cd gr-azure-software-radio/build | ||
sudo make install -j | ||
- name: Update GNURadio preferences | ||
run: | | ||
mkdir -p "${HOME}/.gnuradio/prefs/" | ||
echo "gr::vmcircbuf_sysv_shm_factory" > "${HOME}/.gnuradio/prefs/vmcircbuf_default_factory" | ||
- name: Run Tests | ||
env: | ||
AZURE_STORAGE_CONNECTION_STRING: ${{ secrets.AZURE_STORAGE_CONNECTION_STRING }} | ||
AZURE_STORAGE_URL: ${{ secrets.AZURE_STORAGE_URL }} | ||
AZURE_STORAGE_SAS: ${{ secrets.AZURE_STORAGE_SAS }} | ||
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }} | ||
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }} | ||
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }} | ||
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }} | ||
AZURE_EVENTHUB_CONNECTION_STRING: ${{ secrets.AZURE_EVENTHUB_CONNECTION_STRING }} | ||
AZURE_EVENTHUB_NAME: ${{ secrets.AZURE_EVENTHUB_NAME }} | ||
AZURE_EVENTHUB_CONSUMER_GROUP: ${{ secrets.AZURE_EVENTHUB_CONSUMER_GROUP }} | ||
AZURE_EVENTHUB_HOST_NAME: ${{ secrets.AZURE_EVENTHUB_HOST_NAME }} | ||
AZURE_KEYVAULT_NAME: ${{ secrets.AZURE_KEYVAULT_NAME }} | ||
AZURE_KEYVAULT_TEST_KEY: ${{ secrets.AZURE_KEYVAULT_TEST_KEY }} | ||
AZURE_STORAGE_READONLY_SAS: ${{ secrets.AZURE_STORAGE_READONLY_SAS }} | ||
run: | | ||
cd gr-azure-software-radio/build | ||
export PYTHONPATH=${{ secrets.PYTHONPATH }}; export LD_LIBRARY_PATH=${{ secrets.LD_LIBRARY_PATH }};ctest -V -T test; | ||
echo " " | ||
echo "Now running integration..." | ||
cd ..; cd python; python3 -m unittest integration_blob_source.py; python3 -m unittest integration_blob_sink.py; python3 -m unittest integration_default_credentials.py; python3 -m unittest integration_eventhub_sink.py; python3 -m unittest integration_eventhub_source.py; | ||
shell: bash | ||
- name: pylint | ||
continue-on-error: false | ||
run: | | ||
export PYTHONPATH=${{ secrets.PYTHONPATH }}; export LD_LIBRARY_PATH=${{ secrets.LD_LIBRARY_PATH }}; | ||
cd .. | ||
pylint azure-software-radio --rcfile azure-software-radio/.pylintrc | ||
- name: check step | ||
if: success() | ||
run: echo pylint has passed all checks |
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
Oops, something went wrong.