Skip to content

Commit

Permalink
Test nightly build
Browse files Browse the repository at this point in the history
  • Loading branch information
soumeh01 committed May 29, 2024
1 parent 41ed4db commit 4fd585e
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 9,872 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- '.github/markdownlint-link-check.json'
- '**/*.md'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

# Declare default permissions as read only.
permissions: read-all

Expand Down
50 changes: 23 additions & 27 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,18 +132,6 @@ jobs:
cp -r devtools/tools/projmgr/schemas/* ./cmsis-toolbox/etc
cp -r devtools/tools/buildmgr/cbuildgen/scripts/* ./cmsis-toolbox/etc
cp -r devtools/tools/buildmgr/cbuildgen/config/* ./cmsis-toolbox/etc
./cmsis-toolbox/bin/cbuild${{ matrix.binary_extension }} -V
./cmsis-toolbox/bin/cpackget${{ matrix.binary_extension }} -V
./cmsis-toolbox/bin/csolution${{ matrix.binary_extension }} -V
- name: Binary version info
if: always()
shell: bash
run: |
echo $PATH
ls -l ./cmsis-toolbox/bin
./cmsis-toolbox/bin/cbuild -V
./cmsis-toolbox/bin/csolution -V
- name: Update toolchain config files
if: ${{ matrix.target == 'windows' }}
Expand Down Expand Up @@ -201,40 +189,48 @@ jobs:
name: cmsis-toolbox-${{ matrix.target }}-${{ matrix.arch }}
path: cmsis-toolbox

- name: Set execution permissions
run: |
chmod -R +x ./cmsis-toolbox/bin/*
- name: Get toolbox path
if: always()
id: toolbox_path
shell: bash
run: |
echo "path=$(echo "$(pwd)/cmsis-toolbox/bin")" >> $GITHUB_OUTPUT
- name: TEST
if: always()
shell: bash
run: |
ls -l ./cmsis-toolbox
ls -l ./cmsis-toolbox/bin
ls -l ./cmsis-toolbox/etc
# - name: Binary version info
# - name: TEST
# if: always()
# shell: bash
# run: |
# export PATH="${{steps.toolbox_path.outputs.path}}:$PATH"
# echo "${{steps.toolbox_path.outputs.path}}"
# ls -l ./cmsis-toolbox
# ls -l ./cmsis-toolbox/bin
# ls -l ./cmsis-toolbox/etc
# csolution -V
# cpackget -V
# cbuild -V
# cbuild2cmake -V
# cbuildgen -V
# which csolution
# cbuild2cmake -V

- name: Binary version info
if: always()
shell: bash
run: |
ls -l ${{steps.toolbox_path.outputs.path}}
export PATH="${{steps.toolbox_path.outputs.path}}:$PATH"
echo "${{steps.toolbox_path.outputs.path}}"
csolution -V
cpackget -V
cbuild -V
cbuild2cmake -V
cbuildgen -V
which csolution
- name: Run Test
shell: bash
run: |
echo $PATH
export PATH="${{steps.toolbox_path.outputs.path}}:$PATH"
echo $PATH
which cbuild
ls -l ${{steps.toolbox_path.outputs.path}}
${{steps.toolbox_path.outputs.path}}/cbuild -V
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/toolbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,24 @@ on:
- main
paths:
- '.github/workflows/toolbox.yml'
- '**'
- 'test/test.py'
- 'scripts/**'
- '!docs/**'
- '!README.md'
- '!**/*.md'
pull_request:
paths:
- '.github/workflows/toolbox.yml'
- '**'
- 'test/test.py'
- 'scripts/**'
- '!docs/**'
- '!**/*.md'
release:
types: [published]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
create_archives:
if: |
Expand Down
11 changes: 0 additions & 11 deletions .pre-commit-config.yaml

This file was deleted.

Loading

0 comments on commit 4fd585e

Please sign in to comment.