Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/flipperdevices/libusb_stm32.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Filimonchuk <dmitrystu@gmail.com>2021-03-03 23:56:01 +0300
committerGitHub <noreply@github.com>2021-03-03 23:56:01 +0300
commit57dc4297861ef5fd2b0b272be548b683bc9d3abf (patch)
tree123cdc6a5468bc8baf36e6543bfb2c5b17d1c1bd
parent6e83fe13280c8f5456506460e8e239a7478334f8 (diff)
moved to github-ci (#85)
* moved to github-ci * update badges
-rw-r--r--.github/workflows/test-build-lnx.yml54
-rw-r--r--.github/workflows/test-build-osx.yml56
-rw-r--r--.github/workflows/test-build-win.yml54
-rw-r--r--.travis.yml58
-rw-r--r--readme.md4
5 files changed, 167 insertions, 59 deletions
diff --git a/.github/workflows/test-build-lnx.yml b/.github/workflows/test-build-lnx.yml
new file mode 100644
index 0000000..e3d19af
--- /dev/null
+++ b/.github/workflows/test-build-lnx.yml
@@ -0,0 +1,54 @@
+name: LNX build
+on:
+ pull_request:
+ branches:
+ - master
+ paths-ignore:
+ - '**.md'
+ push:
+ branches:
+ - master
+ paths-ignore:
+ - '**.md'
+
+jobs:
+ build:
+ name: Linux
+ env:
+ CMSIS: CMSIS_5
+ runs-on: ubuntu-latest
+ steps:
+ - name: ARM GCC setup
+ uses: fiam/arm-none-eabi-gcc@v1
+ with:
+ release: 8-2019-q3
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Resolve prerequisites
+ run: make cmsis
+ - name: testbuild F103
+ run: make stm32f103x6
+ - name: testbuild F303
+ run: make stm32f303xe
+ - name: testbuild F105
+ run: make stm32f105xb
+ - name: testbuild L052
+ run: make stm32l052x8
+ - name: testbuild L100
+ run: make stm32l100xc
+ - name: testbuild L476
+ run: make stm32l476xg
+ - name: testbuild F429
+ run: make stm32f429xi
+ - name: testbuild L433
+ run: make stm32l433cc
+ - name: testbuild F070
+ run: make stm32f070xb
+ - name: testbuild G431
+ run: make stm32g431xb
+ - name: testbuild F446
+ run: make stm32f446xc
+ - name: testbuild F373
+ run: make stm32f373xc
+ - name: testbuild F745
+ run: make stm32f745xe
diff --git a/.github/workflows/test-build-osx.yml b/.github/workflows/test-build-osx.yml
new file mode 100644
index 0000000..8ea5440
--- /dev/null
+++ b/.github/workflows/test-build-osx.yml
@@ -0,0 +1,56 @@
+name: OSX build
+on:
+ pull_request:
+ branches:
+ - master
+ paths-ignore:
+ - '**.md'
+ push:
+ branches:
+ - master
+ paths-ignore:
+ - '**.md'
+
+jobs:
+ build:
+ name: OSX
+ env:
+ CMSIS: CMSIS_5
+ runs-on: macos-latest
+ steps:
+ - name: ARM GCC setup
+ uses: fiam/arm-none-eabi-gcc@v1
+ with:
+ release: 8-2019-q3
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Update make
+ run: brew install make
+ - name: Resolve prerequisites
+ run: gmake cmsis
+ - name: testbuild F103
+ run: gmake stm32f103x6
+ - name: testbuild F303
+ run: gmake stm32f303xe
+ - name: testbuild F105
+ run: gmake stm32f105xb
+ - name: testbuild L052
+ run: gmake stm32l052x8
+ - name: testbuild L100
+ run: gmake stm32l100xc
+ - name: testbuild L476
+ run: gmake stm32l476xg
+ - name: testbuild F429
+ run: gmake stm32f429xi
+ - name: testbuild L433
+ run: gmake stm32l433cc
+ - name: testbuild F070
+ run: gmake stm32f070xb
+ - name: testbuild G431
+ run: gmake stm32g431xb
+ - name: testbuild F446
+ run: gmake stm32f446xc
+ - name: testbuild F373
+ run: gmake stm32f373xc
+ - name: testbuild F745
+ run: gmake stm32f745xe
diff --git a/.github/workflows/test-build-win.yml b/.github/workflows/test-build-win.yml
new file mode 100644
index 0000000..68d52ff
--- /dev/null
+++ b/.github/workflows/test-build-win.yml
@@ -0,0 +1,54 @@
+name: WIN build
+on:
+ pull_request:
+ branches:
+ - master
+ paths-ignore:
+ - '**.md'
+ push:
+ branches:
+ - master
+ paths-ignore:
+ - '**.md'
+
+jobs:
+ build:
+ name: Windows
+ env:
+ CMSIS: CMSIS_5
+ runs-on: windows-latest
+ steps:
+ - name: ARM GCC setup
+ uses: fiam/arm-none-eabi-gcc@v1
+ with:
+ release: 8-2019-q3
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Resolve prerequisites
+ run: make cmsis SHELL=cmd
+ - name: testbuild F103
+ run: make stm32f103x6 SHELL=cmd
+ - name: testbuild F303
+ run: make stm32f303xe SHELL=cmd
+ - name: testbuild F105
+ run: make stm32f105xb SHELL=cmd
+ - name: testbuild L052
+ run: make stm32l052x8 SHELL=cmd
+ - name: testbuild L100
+ run: make stm32l100xc SHELL=cmd
+ - name: testbuild L476
+ run: make stm32l476xg SHELL=cmd
+ - name: testbuild F429
+ run: make stm32f429xi SHELL=cmd
+ - name: testbuild L433
+ run: make stm32l433cc SHELL=cmd
+ - name: testbuild F070
+ run: make stm32f070xb SHELL=cmd
+ - name: testbuild G431
+ run: make stm32g431xb SHELL=cmd
+ - name: testbuild F446
+ run: make stm32f446xc SHELL=cmd
+ - name: testbuild F373
+ run: make stm32f373xc SHELL=cmd
+ - name: testbuild F745
+ run: make stm32f745xe SHELL=cmd
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 96b5cc8..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,58 +0,0 @@
-
-language: c
-
-matrix:
- include:
- - os: linux
- install:
- - export GCC_URL=https://developer.arm.com/-/media/Files/downloads/gnu-rm/8-2019q3/RC1.1/gcc-arm-none-eabi-8-2019-q3-update-linux.tar.bz2?revision=c34d758a-be0c-476e-a2de-af8c6e16a8a2?product=GNU%20Arm%20Embedded%20Toolchain,64-bit,,Linux,8-2019-q3-update
- - pushd $HOME
- - mkdir arm-gcc-toolchain
- - wget -O $HOME/arm-gcc-toolchain/gcc.tar.bz2 $GCC_URL
- - cd arm-gcc-toolchain
- - tar -jxf gcc.tar.bz2 --strip=1
- - export PATH=$HOME/arm-gcc-toolchain/bin:$PATH
- - export GMAKE=make
- - popd
-
- - os: windows
- install:
- - export GCC_URL=https://developer.arm.com/-/media/Files/downloads/gnu-rm/8-2019q3/RC1.1/gcc-arm-none-eabi-8-2019-q3-update-win32.zip?revision=2f0fd855-d015-423c-9c76-c953ae7e730b?product=GNU%20Arm%20Embedded%20Toolchain,ZIP,,Windows,8-2019-q3-update
- - pushd $HOME
- - mkdir arm-gcc-toolchain
- - wget --no-check-certificate -O arm-gcc.zip $GCC_URL
- - 7z x arm-gcc.zip -oarm-gcc-toolchain -r -y
- - export PATH=$HOME/arm-gcc-toolchain/bin:$PATH
- - export GMAKE="mingw32-make SHELL=cmd"
- - popd
-
- - os: osx
- install:
- - export GCC_URL=https://developer.arm.com/-/media/Files/downloads/gnu-rm/8-2019q3/RC1.1/gcc-arm-none-eabi-8-2019-q3-update-mac.tar.bz2?revision=6a06dd2b-bb98-4708-adac-f4c630c33f4f?product=GNU%20Arm%20Embedded%20Toolchain,64-bit,,Mac%20OS%20X,8-2019-q3-update
- - pushd $HOME
- - mkdir arm-gcc-toolchain
- - wget -O ./arm-gcc-toolchain/gcc.tar.bz2 $GCC_URL
- - cd arm-gcc-toolchain
- - tar -jxf gcc.tar.bz2 --strip=1
- - export PATH=$HOME/arm-gcc-toolchain/bin:$PATH
- - export GMAKE=make
- - popd
-
-before_script:
- - $GMAKE -v
- - arm-none-eabi-gcc --version
-
-script:
- - $GMAKE cmsis
- - $GMAKE stm32f103x6
- - $GMAKE stm32f303xe
- - $GMAKE stm32f105xb
- - $GMAKE stm32l052x8
- - $GMAKE stm32l100xc
- - $GMAKE stm32l476xg
- - $GMAKE stm32f429xi
- - $GMAKE stm32l433cc
- - $GMAKE stm32f070xb
- - $GMAKE stm32g431xb
- - $GMAKE stm32f446xc
- - $GMAKE stm32f373xc
diff --git a/readme.md b/readme.md
index 9cb346f..15fad14 100644
--- a/readme.md
+++ b/readme.md
@@ -1,4 +1,6 @@
-![Travis (.org) branch](https://img.shields.io/travis/dmitrystu/libusb_stm32/master?logo=travis)
+![LNX build](https://github.com/dmitrystu/libusb_stm32/workflows/LNX%20build/badge.svg)
+![WIN build](https://github.com/dmitrystu/libusb_stm32/workflows/WIN%20build/badge.svg)
+![OSX build](https://github.com/dmitrystu/libusb_stm32/workflows/OSX%20build/badge.svg)
### Lightweight USB Device Stack ###