Skip to content

Commit

Permalink
[feat] Alligning makefile to the standardized template (#109)
Browse files Browse the repository at this point in the history
We are alligning the makefile to the standardized template, along with the changes required for this project.
We are also  refactoring CI to compensate for these changes.

Now building and packaging for most architectures and operating systems.

Signed-off-by: Akis Maziotis <akis.maziotis@mattermost.com>
  • Loading branch information
phoinixgrr authored Nov 13, 2023
1 parent d41f502 commit 699831b
Show file tree
Hide file tree
Showing 6 changed files with 409 additions and 265 deletions.
38 changes: 0 additions & 38 deletions .github/workflows/build.yml

This file was deleted.

49 changes: 49 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Build and Test

on:
push:
branches:
- master
pull_request:
permissions:
contents: read

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- name: Lint
run: make lint
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- name: Test
run: make test
build:
name: Build
runs-on: ubuntu-latest
needs: [lint,test]
steps:
- name: Checkout code
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- name: Build
run: make build
- name: Cleanup
run: make clean
package:
name: Package
runs-on: ubuntu-latest
needs: [build]
steps:
- name: Checkout code
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- name: Package
run: make package
- name: Cleanup
run: make clean
25 changes: 0 additions & 25 deletions .github/workflows/golangci-lint.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/test.yml

This file was deleted.

Loading

0 comments on commit 699831b

Please sign in to comment.