diff --git a/.Zeugwerk/config.json b/.Zeugwerk/config.json new file mode 100644 index 0000000..f1d3794 --- /dev/null +++ b/.Zeugwerk/config.json @@ -0,0 +1,29 @@ +{ + "fileversion": 1, + "solution": "TcUnit.sln", + "projects": [ + { + "name": "TcUnit", + "plcs": [ + { + "version": "1.3.2", + "distributor-name": "www.tcunit.org", + "name": "TcUnit", + "title": "TcUnit", + "type": "Library", + "packages": [], + "references": { + "*": [ + "SysDir=*", + "SysFile=*", + "Tc2_Standard=*", + "Tc2_System=*", + "Tc2_Utilities=*", + "Base Interfaces=*" + ] + } + } + ] + } + ] +} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..2e636e1 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,28 @@ +name: TwinCAT Build +on: + push: + branches: + - master + - master_zgwk + paths: + - 'TcUnit/**' + pull_request: + branches: [ master, master_zgwk ] + workflow_dispatch: +jobs: + Build: + name: TwinCAT Build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Build + uses: Zeugwerk/zkbuild-action@1.0.0 + with: + username: ${{ secrets.ACTIONS_ZGWK_USERNAME }} + password: ${{ secrets.ACTIONS_ZGWK_PASSWORD }} + - name: Upload + uses: actions/upload-artifact@v4 + with: + name: TcUnit + path: | + **/*library