forked from epagris/FreeRTOS-Kernel
		
	Build the posix port on pushes and PRs to the Kernel repository (#290)
* Run posix build action when new commits are pushed to the FreeRTOS/Kernel repository * Run kernel unit tests on push and pull_request actions
This commit is contained in:
		
							parent
							
								
									9cd19603e8
								
							
						
					
					
						commit
						4ad84923a0
					
				
							
								
								
									
										27
									
								
								.github/workflows/kernel-checks.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										27
									
								
								.github/workflows/kernel-checks.yml
									
									
									
									
										vendored
									
									
								
							@ -1,6 +1,6 @@
 | 
			
		||||
name: Kernel-Checker
 | 
			
		||||
 | 
			
		||||
on: [pull_request]
 | 
			
		||||
on: [push, pull_request]
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  kernel-checker:
 | 
			
		||||
@ -45,3 +45,28 @@ jobs:
 | 
			
		||||
          cd inspect
 | 
			
		||||
          .github/scripts/kernel_checker.py --json ${HOME}/files_modified.json ${HOME}/files_added.json ${HOME}/files_renamed.json
 | 
			
		||||
          exit $?
 | 
			
		||||
  build-checker:
 | 
			
		||||
    name: FreeRTOS Posix Build Check
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
      - name: Checkout the parent repository
 | 
			
		||||
        uses: actions/checkout@v2
 | 
			
		||||
        with:
 | 
			
		||||
          ref: master
 | 
			
		||||
          repository: FreeRTOS/FreeRTOS
 | 
			
		||||
          submodules: 'recursive'
 | 
			
		||||
          fetch-depth: 1
 | 
			
		||||
          path: ./workspace
 | 
			
		||||
      - name: Checkout the current repository
 | 
			
		||||
        uses: actions/checkout@v2
 | 
			
		||||
        with:
 | 
			
		||||
          path: ./workspace/FreeRTOS/Source
 | 
			
		||||
      - name: Posix Build Checker
 | 
			
		||||
        run: |
 | 
			
		||||
              bash workspace/.github/scripts/posix_build_checker.sh workspace
 | 
			
		||||
      - name: Install lib pcap dev
 | 
			
		||||
        run: |
 | 
			
		||||
          sudo apt-get install libpcap-dev
 | 
			
		||||
      - name: Posix Network Build Checker
 | 
			
		||||
        run: |
 | 
			
		||||
          bash workspace/.github/scripts/posix_network_build_checker.sh workspace
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										4
									
								
								.github/workflows/unit-tests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/unit-tests.yml
									
									
									
									
										vendored
									
									
								
							@ -1,11 +1,11 @@
 | 
			
		||||
name: CMock Unit Tests
 | 
			
		||||
on: [push]
 | 
			
		||||
on: [push, pull_request]
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  run:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
    - name: Checkout Parent Repo
 | 
			
		||||
    - name: Checkout Parent Repository
 | 
			
		||||
      uses: actions/checkout@v2
 | 
			
		||||
      with:
 | 
			
		||||
        ref: master
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user