-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update supported ns-3 version to 3.42 (#169)
* Change deprecated EventId::IsRunning to IsPending * Import nested energy namespace where necessary * Refactor to Duration and Type enums in tests * Fix compilation error caused by a 'Schedule' of a 'Callback' type function - Introduce TxFinished function in LoraPhy for signaling transmission end. - Probably related to: https://gitlab.com/nsnam/ns-3-dev/-/issues/1060#note_1847298087 (matching error) * Bump supported ns-3 version to 3.42 * Fix spelling * Fix linting * Fix cmake formatting + add related job to the CI * CI: update per-commit pipeline to ns-3.42 * CI: add ns-3 version disclaimer to logs * CI: simplify dependencies where possible * CI: rename tests placeholder file * CI: produce doxygen warning artifact only on failure * CI: fix workflow code formatting and make all dispatchable * CI: try github pages
- Loading branch information
1 parent
b866c0b
commit febdbb3
Showing
29 changed files
with
165 additions
and
119 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
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
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
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ on: | |
workflow_dispatch: | ||
|
||
jobs: | ||
deploy-doc: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: archlinux | ||
|
@@ -32,13 +32,25 @@ jobs: | |
store-artifacts: "false" | ||
- name: "Build documentation" | ||
run: ./ns3 docs all | ||
- name: "Deploy documentation" | ||
env: | ||
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }} | ||
uses: cpina/github-action-push-to-another-repository@main | ||
- name: "Upload pages artifact" | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
source-directory: "doc/" | ||
destination-github-username: "signetlabdei" | ||
destination-repository-name: "lorawan-docs" | ||
user-email: [email protected] | ||
target-branch: master | ||
path: "doc/html/" | ||
|
||
deploy: | ||
# Add a dependency to the build job | ||
needs: build | ||
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment | ||
permissions: | ||
pages: write # to deploy to Pages | ||
id-token: write # to verify the deployment originates from an appropriate source | ||
# Deploy to the github-pages environment | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
# Specify runner + deployment step | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: "Deploy to GitHub Pages" | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
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
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
release ns-3.41 | ||
release ns-3.42 |
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 |
---|---|---|
@@ -1,62 +1,55 @@ | ||
build_lib_example( | ||
NAME simple-network-example | ||
SOURCE_FILES simple-network-example.cc | ||
LIBRARIES_TO_LINK | ||
${libcore} ${liblorawan} | ||
LIBRARIES_TO_LINK ${libcore} | ||
${liblorawan} | ||
) | ||
|
||
build_lib_example( | ||
NAME network-server-example | ||
SOURCE_FILES network-server-example.cc | ||
LIBRARIES_TO_LINK | ||
${libcore} | ||
${liblorawan} | ||
LIBRARIES_TO_LINK ${libcore} | ||
${liblorawan} | ||
) | ||
|
||
build_lib_example( | ||
NAME complete-network-example | ||
SOURCE_FILES complete-network-example.cc | ||
LIBRARIES_TO_LINK | ||
${libcore} | ||
${liblorawan} | ||
LIBRARIES_TO_LINK ${libcore} | ||
${liblorawan} | ||
) | ||
|
||
build_lib_example( | ||
NAME adr-example | ||
SOURCE_FILES adr-example.cc | ||
LIBRARIES_TO_LINK | ||
${libcore} | ||
${liblorawan} | ||
LIBRARIES_TO_LINK ${libcore} | ||
${liblorawan} | ||
) | ||
|
||
build_lib_example( | ||
NAME lorawan-energy-model-example | ||
SOURCE_FILES lorawan-energy-model-example.cc | ||
LIBRARIES_TO_LINK | ||
${libcore} | ||
${liblorawan} | ||
LIBRARIES_TO_LINK ${libcore} | ||
${liblorawan} | ||
) | ||
|
||
build_lib_example( | ||
NAME aloha-throughput | ||
SOURCE_FILES aloha-throughput.cc | ||
LIBRARIES_TO_LINK | ||
${libcore} | ||
${liblorawan} | ||
LIBRARIES_TO_LINK ${libcore} | ||
${liblorawan} | ||
) | ||
|
||
build_lib_example( | ||
NAME parallel-reception-example | ||
SOURCE_FILES parallel-reception-example.cc | ||
LIBRARIES_TO_LINK | ||
${libcore} | ||
${liblorawan} | ||
LIBRARIES_TO_LINK ${libcore} | ||
${liblorawan} | ||
) | ||
|
||
build_lib_example( | ||
NAME frame-counter-update | ||
SOURCE_FILES frame-counter-update.cc | ||
LIBRARIES_TO_LINK | ||
${libcore} | ||
${liblorawan} | ||
LIBRARIES_TO_LINK ${libcore} | ||
${liblorawan} | ||
) |
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
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.