Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update compiler to xc16 v2.10 #3

Merged
merged 1 commit into from
Nov 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/main-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,27 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download project files
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Cache XC-16 Compiler
id: cache-compiler
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.cache/mplab-xc
key: xc16-v1.70-cache
key: xc16-v2.10-cache

- name: Download XC16 Compiler
if: steps.cache-compiler.outputs.cache-hit != 'true'
run: |
mkdir -p ~/.cache/mplab-xc
cd ~/.cache/mplab-xc
wget https://ww1.microchip.com/downloads/en/DeviceDoc/xc16-v1.70-full-install-linux64-installer.run
chmod +x xc16-v1.70-full-install-linux64-installer.run
wget https://ww1.microchip.com/downloads/aemDocuments/documents/DEV/ProductDocuments/SoftwareTools/xc16-v2.10-full-install-linux64-installer.run
chmod +x xc16-v2.10-full-install-linux64-installer.run

- name: Install XC16 Compiler
run: |
cd ~/.cache/mplab-xc
sudo ./xc16-v1.70-full-install-linux64-installer.run --mode unattended --netservername dontknow
sudo ./xc16-v2.10-full-install-linux64-installer.run --mode unattended --netservername dontknow

- name: Set up cmake-microchip submodules
run: |
Expand All @@ -46,7 +46,7 @@ jobs:
make

- name: Publish build files
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: production-file
path: build/pslab-bootloader.hex