-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrated from Travis CI to Github Actions. (#6)
Signed-off-by: Hermann Mayer <[email protected]>
- Loading branch information
Showing
17 changed files
with
121 additions
and
93 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
tag-template: $NEXT_MINOR_VERSION | ||
template: $CHANGES |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Package | ||
on: | ||
release: | ||
types: [published] | ||
|
||
concurrency: | ||
group: '${{ github.event_name }}' | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
package: | ||
name: Build the module package | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 10 | ||
steps: | ||
- name: Prepare the virtual environment | ||
uses: hausgold/actions/ci@master | ||
with: | ||
clone_token: '${{ secrets.CLONE_TOKEN }}' | ||
settings: '${{ github.repository }}' | ||
target: ci/docker | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Configure the module version | ||
run: var MOD_VERSION ${APP_REF} | ||
|
||
- name: Build the module | ||
run: make -C .github build package | ||
|
||
- name: Upload built module package | ||
run: > | ||
release-asset '${{ github.event.release.id }}' | ||
".github/ejabberd-unread-${MOD_VERSION}.tar.gz" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Process | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- master | ||
|
||
jobs: | ||
release_drafter: | ||
name: Update release draft | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 3 | ||
steps: | ||
- uses: release-drafter/release-drafter@v5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Test | ||
on: | ||
push: | ||
branches: | ||
- '**' | ||
schedule: | ||
- cron: '0 0 * * MON' | ||
|
||
concurrency: | ||
group: '${{ github.ref }}' | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
test: | ||
name: Test the module | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 5 | ||
steps: | ||
- name: Prepare the virtual environment | ||
uses: hausgold/actions/ci@master | ||
with: | ||
clone_token: '${{ secrets.CLONE_TOKEN }}' | ||
settings: '${{ github.repository }}' | ||
target: ci/docker | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install the module dependencies | ||
run: make install | ||
|
||
- name: Start the module dependencies | ||
run: START=background make start reload | ||
|
||
- name: Run the module tests | ||
run: make test | ||
|
||
build: | ||
name: Build the module | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 5 | ||
steps: | ||
- name: Prepare the virtual environment | ||
uses: hausgold/actions/ci@master | ||
with: | ||
clone_token: '${{ secrets.CLONE_TOKEN }}' | ||
settings: '${{ github.repository }}' | ||
target: ci/docker | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Build the module | ||
run: make -C .github build |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
-define(MODULE_VERSION, <<"1.0.4-471">>). | ||
-define(MODULE_VERSION, <<"1.0.4-472">>). | ||
-define(NS_UNREAD, <<"urn:xmpp:unread">>). |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters