Skip to content

Commit

Permalink
Add CI workflow (#91)
Browse files Browse the repository at this point in the history
* Add CI workflow

* run on any branch

* Add name to step

* specify version

* try version 5.0.x

* specif path to solution

* specify path to csproj

* update version

* update version

* change ubuntu

* Try to use .NET 8 after upgrade

* try using /p:EnableWindowsTargeting=true
  • Loading branch information
oriash93 authored Oct 13, 2024
1 parent 396f932 commit 4b680c6
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: AutoClicker CI

on:
pull_request:
branches:
- "*"

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore AutoClicker/AutoClicker.csproj /p:EnableWindowsTargeting=true
- name: Build
run: dotnet build --no-restore AutoClicker/AutoClicker.csproj /p:EnableWindowsTargeting=true
- name: Test
run: dotnet test --no-build --verbosity normal AutoClicker/AutoClicker.csproj /p:EnableWindowsTargeting=true

0 comments on commit 4b680c6

Please sign in to comment.