diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..9696a763 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,33 @@ +name: Build CI + +on: + push: + pull_request: + release: + types: [published] + +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true + +jobs: + build: + runs-on: ubuntu-22.04 + steps: + - name: Set up repository + uses: actions/checkout@v4 + with: + submodules: false + show-progress: false + - name: Set up compiler + uses: carlosperate/arm-none-eabi-gcc-action@v1 + with: + # When changing this update what Windows grabs too! + release: '13.2.Rel1' + - name: Build + run: make -j$(nproc) all-boards && make drop-pkg + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + path: build/uf2-samd1x-*.zip + diff --git a/.gitignore b/.gitignore index e0e9abe9..9549955b 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ node_modules scripts/clean-ifaces/*.plist .vscode/c_cpp_properties.json TAGS +dist diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index ab2837dc..00000000 --- a/.travis.yml +++ /dev/null @@ -1,28 +0,0 @@ -language: node_js -sudo: false -node_js: - - "5.7.0" -notifications: - email: - - yelm-eng@microsoft.com -addons: - apt: - packages: - - libc6-i386 - -node_js: - - "6" - -cache: - directories: - - $HOME/gcc-arm-none-eabi-9-2019-q4-major - -install: - - export GCC_DIR=$HOME/gcc-arm-none-eabi-9-2019-q4-major - - export GCC_ARCHIVE=$HOME/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2 - - export GCC_URL=https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2 - - if [ ! -e $GCC_DIR/bin/arm-none-eabi-g++ ]; then wget $GCC_URL -O $GCC_ARCHIVE; tar xfj $GCC_ARCHIVE -C $HOME; fi - - export PATH=$PATH:$GCC_DIR/bin - -script: - - make all-boards