Skip to content

Use Github Actions To Compile Automatically#6

Merged
Pelipoika merged 2 commits intoPelipoika:masterfrom
caxanga334:add-ci-v2
Dec 3, 2022
Merged

Use Github Actions To Compile Automatically#6
Pelipoika merged 2 commits intoPelipoika:masterfrom
caxanga334:add-ci-v2

Conversation

@caxanga334
Copy link
Contributor

@caxanga334 caxanga334 commented Dec 3, 2022

Adds a github action workflow that will automatically build this extension when a push is made to the master branch.
It will compile against sourcemod 1.11 and 1.12, creating separate packages for both.
Output is upload as artifacts and includes compiled extension binary and debug symbols for debugging crashes.

Also this is evil: 'tf2': SDK('HL2SDKTF2', '2.tf2', '11', 'TF2', WinLinuxMac, 'sdk2013'), # MODIFIED: use sdk2013 instead of tf2

commit a6b0ab8
Author: caxanga334 <10157643+caxanga334@users.noreply.github.com>
Date:   Fri Dec 2 21:50:00 2022 -0300

    Quick Fixes

    Also removed some debug ls

commit a6bd756
Author: caxanga334 <10157643+caxanga334@users.noreply.github.com>
Date:   Fri Dec 2 21:45:05 2022 -0300

    Fixed now???

    Also why "# MODIFIED: use sdk2013 instead of tf2".

commit 2966688
Author: caxanga334 <10157643+caxanga334@users.noreply.github.com>
Date:   Fri Dec 2 21:38:21 2022 -0300

    Attempt 8

commit f3aacac
Author: caxanga334 <10157643+caxanga334@users.noreply.github.com>
Date:   Fri Dec 2 21:27:54 2022 -0300

    Path is hard

commit e2ec6b5
Author: caxanga334 <10157643+caxanga334@users.noreply.github.com>
Date:   Fri Dec 2 21:23:09 2022 -0300

    Fix attempt 6

commit dea4d0d
Author: caxanga334 <10157643+caxanga334@users.noreply.github.com>
Date:   Fri Dec 2 21:17:58 2022 -0300

    Debug

commit 9207844
Author: caxanga334 <10157643+caxanga334@users.noreply.github.com>
Date:   Fri Dec 2 21:08:55 2022 -0300

    Attempt 4

commit 1a30383
Author: caxanga334 <10157643+caxanga334@users.noreply.github.com>
Date:   Fri Dec 2 21:04:36 2022 -0300

    Attempt 3

commit c9fe6b6
Author: caxanga334 <10157643+caxanga334@users.noreply.github.com>
Date:   Fri Dec 2 20:56:17 2022 -0300

    Fix CI

commit 49f7b33
Author: caxanga334 <10157643+caxanga334@users.noreply.github.com>
Date:   Fri Dec 2 20:53:22 2022 -0300

    Squashed commit of the following:

    commit 6cb617a
    Author: caxanga334 <10157643+caxanga334@users.noreply.github.com>
    Date:   Fri Dec 2 20:52:02 2022 -0300

        Add CI
@Pelipoika
Copy link
Owner

Do i need to do something if i merge this to get it running

@caxanga334
Copy link
Contributor Author

This is my first time doing a PR like this. I think it will automatically run after merging this. Worst case you need to push another commit.

@Pelipoika
Copy link
Owner

Lets find out

@Pelipoika Pelipoika merged commit 14c2fec into Pelipoika:master Dec 3, 2022
@Pelipoika
Copy link
Owner

Well it says it built but where does the build go

@caxanga334
Copy link
Contributor Author

caxanga334 commented Dec 3, 2022

Build output is uploaded as artifacts, they can be downloaded from the action run summary. Go to the actions page and select an individual action (example). Scroll down until you find the Artifacts section.


Some additional notes:

  • To prevent an action from running, add "[ci skip]" to the commit message.
  • Build artifacts are only available for 3 months and can only be downloaded by logged in users.

Also feel free to ping me on AM discord (Anonymous Player#4908).

@caxanga334 caxanga334 deleted the add-ci-v2 branch December 7, 2022 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants